Search code examples
svnbranchsvn-trunk

How can one determine if an svn working copy is from branch or trunk?


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.


Solution

  • 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.