Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: svn metric extractor

by Anonymous Monk
on Oct 09, 2012 at 09:16 UTC ( #997958=note: print w/ replies, xml ) Need Help??


in reply to Re: svn metric extractor
in thread svn metric extractor

John, it's possible to share the commands that you use to find add, modified and deleted lines between two revisions? Thank's for all


Comment on Re^2: svn metric extractor
Re^3: svn metric extractor
by jmcnamara (Monsignor) on Oct 09, 2012 at 10:21 UTC

    Using diffstat with the -m option gives the modified lines (as well as the added and deleted):

    diff dir1 dir2 | diffstat -m

    I didn't need to modify it in any way. However, at the time of the original post I had to build the code from the website to get a version with the -m option. I think more recent OSes will come with that version by default or at least provide a package.

    --
    John.

Re^3: svn metric extractor
by Anonymous Monk on Oct 10, 2012 at 11:03 UTC

    Thank's for all John. It's possible to obtain # Lines Added # Lines Modified # Lines Churned (Added + Modified) # Lines Deleted separatly between two revisions? I need to obtain lines added, lines modified, lines deleted with shell commands between two subversion revision. It's possible?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997958]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-07-29 05:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls