问题
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