开发者

How to compare local copy of file with latest one in Subversion using Tortoisesvn?

开发者 https://www.devze.com 2023-01-13 13:23 出处:网络
How to compare local copy of a file wi开发者_如何学Pythonth latest one in Subversion using Tortoisesvn?

How to compare local copy of a file wi开发者_如何学Pythonth latest one in Subversion using Tortoisesvn? I have all my files committed but there seems to be a difference somewhere and I am trying to find it.


The option you're searching is called "Diff".

This feature shows you both versions of the same file (local copy and latest in repository), highlighting any difference between them.


Right click on the checked out folder and do "check for modifications" from the TortoiseSVN menu - this shows you all the files that have not yet been committed.

If you are paranoid that there are differences when someone else checks out the code you could just do a 2nd check out to some other folder and use a tool like kdiff3 to compare the two.


You right-click on the file you want to compare, expand TortoiseSVN and choose Diff.

If the file you have locally was edited since the last svn update you performed, it will have a red exclamation mark watermark on it's icon, if it doesn't then maybe you need to run svn update again and check the differences again.


Try using 'Cleanup' to attempt to resolve any inconsistencies.


This seems to be an old thread, however I would like to answer this as I do not see this answer above.

If you are not seeing 'diff' and only able to see 'Diff with previous version' this means your local copy is identical to what in repository and there is no difference to show, hence no 'diff' option.

Hope this answer your question.

0

精彩评论

暂无评论...
验证码 换一张
取 消