开发者

In Subversion, why is there a copy of trunk in my tagged revision?

My project is set up in Subversion with the standard trunk / branches / tags structure. I created a tag with a copy command like so:

svn copy /path/to/project/trunk /path/to/project/tags/cya_tag 

This creates a copy just as I expected, but I can also see a new directory /project/tags/cya_tag/trunk that contains another copy of the trunk.

My guess is that this copy is used to track where the tagged version branche开发者_开发技巧d off of the trunk, but I can't find any documentation anywhere that states this. Am I right?


For svn /branches or /trunk is a common directories as any other. It doesn't process them in any special way. Somebody maybe has executed to get what you see:

svn copy /path/to/project/ /path/to/project/tags/cya_tag 

To understand this check svn log:

svn log /path/to/project/tags/cya_tag 
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜