开发者

TortoiseSvn symbolic links to seperate folder in repository

Im not sure if the title describes what I am asking well but Ill give it a shot here:

What I have

-MySvnRepository

+    Project One Folder

+    Project Two Folder

-     Shared File Folder

-        ToolkitDefinitions.cs

What I am looking for

-MySvnRepository

-    Project One Folder

-        Symoblic link to ToolkitDefinitions.cs

-    Project Two Folder

-        Symoblic link to ToolkitDefinitions.cs

-     Shared File Folder

开发者_开发问答;       ToolkitDefinitions.cs

The point is I have a DLL I am maintaining in which I want my coworkers to have the latest versions without having seprate copies in Project 1, Project 2, Project 3... etc.

Is this possible?


I'm not 100% sure I understand you right, but I think what you want can be done using externals - at least on a directory level, not for files though.

See the chapter in the SVN book.

I've never tried using externals pointing to the same repo, but according to the examples in the manual, it's possible.

You can do it in TortoiseSVN by going to a working copy, right-clicking the directory you want to create the external in, editing the properties, and adding the externals definition(s). Then commit the change. The external will be pulled on the next time you update the working copy.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜