简体   繁体   中英

SVN : how to compare specific file in head revision with some other older revision?

I have this file js/xyz.js . Currently its a head revision (say r7700).

I want to compare this file with js/xyz.js (same file) from older revision (say r7600)

Is there any way?

I want to know, how to do it with CLI ( Command line interface )

是的: svn diff -r7600 js/xyz.js

To compare the current version with revision 7600 use:

svn diff -r 7600 js/xyz.js

You can also use

svn diff -r 7600:7700 js/xyz.js

to explicitly compare revision 7600 wth 7700

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM