How to check for working copy in tortoise svn

时间秒杀一切 提交于 2019-12-25 02:56:27

问题


I am confused in switching from trunk to branch .How to check for my current working copy in svn during switching


回答1:


Using TortoiseSVN, you can see in the file properties whereabouts you are in the repository. If you right-click on the file, select Properties then look at the Subversion tab, the first entry will be URL. This will be displayed something like:

path_to_repository/trunk/filename

or

path_to_repository/branches/branch_name/filename

The URL is what would be updated if you were to commit that file. In the first example, you would be working in the trunk, in the second example, you would be in a branch.




回答2:


If your question can be decrypted as

"I want to know, to which part of repository linked my WC at the time"

you have to use svn info command, URL parameter

>svn info
...
URL: http://mayorat.ursinecorner.ru:8088/svn/Hello/trunk
...


来源:https://stackoverflow.com/questions/15077604/how-to-check-for-working-copy-in-tortoise-svn

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!