English 中文(简体)
在SVN建立链接档案
原标题:Create link file in SVN

I use SVN onWindows XP.

情况:SVN作为文件档案。 我有一些档案需要整理成各种文件,但保留原始档案结构。

Example: In a folder called "Templates"

File1.doc
File2.doc
File3.xls
File4.xls

现在,我想以不同方面组织:

TemplatesType1
      File1.doc -> ..File1.doc
      File2.doc -> ..File2.doc
      File3.xls -> ..File3.xls

TemplatesType2
      File1.doc -> ..File2.doc
      File2.doc -> ..File1.doc
      File3.xls -> ..File4.xls

如果对模板中的文件夹进行修改,那么文件类型* 中的卷宗就是指正确的档案。

我如何能够在SVN实现这一点? 是否有其他替代办法这样做?

问题回答

查阅关于象征性链接的颠覆文件here

参考链接网页,重点地雷:

www.un.org/Depts/DGACM/index_spanish.htm

On non-Windows platforms, Subversion is able to version files of the special type symbolic link (or “symlink”). A symlink is a file that acts as a sort of transparent reference to some other object in the filesystem, allowing programs to read and write to those objects indirectly by way of performing operations on the symlink itself.

When a symlink is committed into a Subversion repository, Subversion remembers that the file was in fact a symlink, as well as the object to which the symlink “points.” When that symlink is checked out to another working copy on a non-Windows system, Subversion reconstructs a real filesystem-level symbolic link from the versioned symlink. But that doesn t in any way limit the usability of working copies on systems such as Windows that do not support symlinks. On such systems, Subversion simply creates a regular text file whose contents are the path to which to the original symlink pointed. While that file can t be used as a symlink on a Windows system, it also won t prevent Windows users from performing their other Subversion-related activities.

你们可以在使用外部文档进行颠覆时使用软件链接。

添加<代码>svn:external property to the rafter les 页 次 财产应当如此:

..File1.doc  File1.doc
..File2.doc  File2.doc
..File3.xls  File4.xls

第1栏是原始档案的途径。 第二栏是档案的地方名称。

<<>Warning> 在您的著作中,这些档案都赢得了同步。 我,即如果你改变其中一人的话,在你进行变革和更新工作副本之前,第二次取得了长足的变化。 如果你将改变这两个档案,就会引发一场冲突,而你则敢于承诺。





相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签