Opened 9 years ago

Closed 9 years ago

#514 closed enhancement (wontfix)

CopyrightStats parse revisiosions in reversed order

Reported by: Peter Johansson Owned by: Peter Johansson
Priority: major Milestone:
Component: svncopyright Version: trunk
Keywords: Cc:

Description

CopyrightStats parse revisions in chronological order. I think we could optimize and parse in reversed order instead. The idea is that in the last revision we can see traces from many of the earlier revisions, assign copyright, and won't need to parse those years more.

Only risk I can see is that a line has changed line type. A line can, e.g., easily change from comment to code without changing the line

 /*
+  This is a function
+*/
   void foo(void);
-*/

but since we don't distinguish comments from code in svncopyright I see no risk here because can't see how a line would change from empty to line/comment or vice versa without changing that line.

Change History (3)

comment:1 Changed 9 years ago by Peter Johansson

Owner: changed from Jari Häkkinen to Peter Johansson
Status: newassigned

comment:2 Changed 9 years ago by Peter Johansson

Status: assignednew

This is completely irrelevant if ticket #518 is implemented. I leave this ticket open, but it can be closed as won't fix if #518 is implemented.

comment:3 Changed 9 years ago by Peter Johansson

Milestone: svndigest 0.11
Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.