How to get line count from a rev ?

23 views
Skip to first unread message

John John

unread,
Jan 11, 2023, 10:12:23 AM1/11/23
to TortoiseSVN
Hi. How can I get the summary of lines added/removed on Windows ? svn diff --summarize doesn't give any useful information.
Additionally,  how do I move a file in svn ? It seems svn treats it as deletion+addition, which would render any line count completely invalid.

Stefan

unread,
Jan 11, 2023, 10:22:31 AM1/11/23
to TortoiseSVN
On Wednesday, January 11, 2023 at 4:12:23 PM UTC+1 uhft...@gmail.com wrote:
Hi. How can I get the summary of lines added/removed on Windows ? svn diff --summarize doesn't give any useful information.

svn does not provide that kind of information in a summary. You could try http://statsvn.org/ 
but why would you need a line count anyway? That kind of information isn't really useful...
 
Additionally,  how do I move a file in svn ? It seems svn treats it as deletion+addition, which would render any line count completely invalid.

yes, svn treats renames as deletion+addition, but not the way you think: the addition is not a plain addition but an "addition with history", so you won't lose the history. 
Reply all
Reply to author
Forward
0 new messages