Reputation: 381
How to find the number of lines which are different between two SVN commits?
Like modified, commented added etc.
Is there any direct command to do this?
Say for example version 1 has 500 lines and version 2 has 650 lines. Then the output would be like: Difference: 150
Upvotes: 0
Views: 1492
Reputation: 12165
diffstat does what you want:
svn diff -r[oldrev]:[newrev] | diffstat
Example:
$ svn diff | diffstat
some_file.py | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
Upvotes: 1