We\'re experimenting with Subversion as a possible replacement of our current Starteam 2005 SCM, (so our SVN knowledge is limited at the moment :-)).
I\'ve been experime
You should retrieve this information in the output of svn info
, which is available as a command-line feature or available in the TortoiseSVN sub menu when right clicking on an SVN item.
Here is the TortoiseSVN explorer integration help, you should obtain all the information about this integration and the available commands. The output of svn info
is almost displayed in the Properties
item.
When you right-click in the folder and run "TortoiseSVN -> Switch" command, the "Switch to Branch / Tag" window appears on the screen. The information you're looking for, is in the "To URL" section. Which shows your current branch.
Though a couple of correct answers have already been provided, I want to point out that there are several more techniques one may use to see where you are in Subversion. Here is the complete list:
TortoiseSVN Repo-Browser -- Open the repo browser on a file or folder and examine either the URL at the top or the path in the left hand navigation pane. (Any other TortoiseSVN dialogs displaying a URL will show the information similarly as pointed out by @fsonmezay.)
File properties -- From Windows Explorer or equivalent, open the standard file properties dialog--not the TortoiseSVN properties! Then select the Subversion tab to see all the information available from the command line, including the URL that indicates trunk or branch in the path. It requires TortoiseSVN to be installed (previously mentioned by @Cedric).
svn info
or svn info filename
provides details of your current directory or specified file, respectively, including the URL that indicates trunk or branch in the path (previously mentioned by @Cedric).The answers from Cédric and fsonmezay are right ; also, if you're on Windows, you can simply right-click a file or directory, select "Properties" and then go to the Subversion tab. There's the full URL of where that file resides on your repo, so it's very easy to tell from which branch it comes from (e.g. https://my.company.com/svn/branches/somebranch/...).
This is the information you'd get from using svn info
from the command line.