Menu

#111 Compare code changes between two svn repo branches / tags

v1.65
open
nobody
None
1
2015-07-07
2015-07-06
Anonymous
No

Could we have a way to automatically compare two svn (or GIT or any other scm) repo branches and/or tags to get a sense of how many lines of code was actually modified/added?

Discussion

  • Al Danial

    Al Danial - 2015-07-07

    Yes, this is possible... depending on your definition of "automatic". cloc can report the lines of code that were modified/added between two directories (or archive files, or one of each). The part that remains for you to do is add automation to export/clone/check out the two repo branches and save the results to two directories, then invoke cloc on these two directories.

    cloc can't compute diffs given URLs pointing to two repos.

     
  • Al Danial

    Al Danial - 2015-07-07
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.