I'm looking for a ClearCase addin / command line tool that I can script that would allow me to get the total number of lines of code added/modified by a specific user for a specific time interval / VOB.

In my head, this should be possible, at least up to one point (the point where branches are deleted). What I don't know is if there's a tool to run diffs and extract data, or commands that extract branch info and then other commands that diff them that I could use.

Many thanks,

Mike

link|improve this question
feedback

2 Answers

On the top of my head, one solution would be:

That being said, I don't know if there is a tool able to parse the result of a ClearCase diff for a given user.

link|improve this answer
feedback

You will want to use and parse the output from cleartool annotate, otherwise you'll need to walk through the version tree for every element, note the creator for each version, and perform a diff for every sub-sequence of versions created by the same user.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.