Can I see the currently checked out revision number in Tortoise SVN?

大城市里の小女人 提交于 2019-11-29 16:33:58

问题


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 .



来源:https://stackoverflow.com/questions/89741/can-i-see-the-currently-checked-out-revision-number-in-tortoise-svn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!