Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: svn metric extractor

by Anonymous Monk
on Oct 09, 2012 at 09:16 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://997958]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-18 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found