Can I see the currently checked out revision numbe

2020-02-26 14:21发布

问题:

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 ?

回答1:

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.



回答2:

Not in tortoise but in command line.

svn info

will return what rev you are checked out on.



回答3:

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



回答4:

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.



回答5:

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.



回答6:

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.



回答7:

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