I checked out the latest revision (revision 5 for example) of a trunk from a local repository. I made some changes and now the working copy differs from revision 5 (latest). I want to diff my working copy with revision 2 before committing it. How do I use the command line or tortoise to accomplish this?
Thanks
Try this:
You just need to specify the revision number at the command line. The call is like this:
svn diff -r N[:M]
where M
default to your copy if omitted. So in your example you would do:
svn diff -r2
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.