Reputation: 8794
My project has the standard trunk/tags/branches structure and typically work in the trunk. Before the holiday, I switched to the Branch to make an isolated change and now I have lost recall if I ever switched back to trunk. Is there a way to check if my local-working copy corresponds to the branch or trunk?
I want to start making more changes for the upcoming release and when I commit at the end-of-day, I don't want to commit to the branch and I am not ready to merge the branch.
Upvotes: 2
Views: 4904
Reputation: 8905
You've got the answer for command-line tools, but if you're using TortoiseSVN on Windows, you can just right-click your working copy and click "Properties". There is a Subversion tab in that dialog which tells you the URL your working copy is pointing to.
Upvotes: 3
Reputation: 97365
For WC-root, you have to use svn info
command and in it's output check content any of two values of keys: URL
or Relative URL
Sample from my WC
>svn info
...
URL: https://subversion.assembla.com/svn/proofsheets.natasha/branches/FullHTML
Relative URL: ^/branches/FullHTML
...
Upvotes: 2
Reputation: 11111
You can use the svn command line utility svn info
from the working copy root directory. It will tell you revision, repository url and much more.
Upvotes: 9