Question

I'd like to know what the currently checked out revision number is for a file or directory. Is there a way to do this in TortoiseSVN on Windows ?

Was it helpful?

Solution

Right-click on the working directory in windows explorer, and select "Properties" (Not TortoiseSVN->Properties). You will see the Properties dialog, which will have a tab called "Subversion". Click on it, and you will see the version number, and other info.

OTHER TIPS

Not in tortoise but in command line.

svn info

will return what rev you are checked out on.

TortoiseSVN -> Show log: The line in bold marks the current revision in your working copy.

If you are using XP, change your Explorer windows to Details View. Navigate to an SVN-controlled folder then go to View > Choose Details and select the SVN columns for status/rev/etc.

Thanks John, that's very useful but doesn't show the revision for the root folder of a project.

Now that you've pointed me in the right direction, I have found that I can right-click the folder, select properties and a TortoiseSVN tab appears which contains the revision number.

Before "Change your Explorer windows to Details View. Navigate to an SVN-controlled folder then go to View > Choose Details and select the SVN columns for status/rev/etc."

you have to change your Windows Registry settings, adding this DWORD value

HKCU\Software\TortoiseSVN\ColumnsEveryWhere

and setting it to 1, as stated in the TortoiseSVN documentation.

nice one John Sheehan. I always just right clicked on the root folder and selected tortoise-svn | view log .

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top