Menu

#104 Fails with SVN logs with full merge history

open
nobody
5
2010-11-26
2010-11-26
Paul Martin
No

If you create the SVN logs with the full merge history ("-g" or "--use-merge-history") then StatSvn fails to parse the log file.

The problem seems to be that the full merge history creates nested "logentrry" nodes which contain the history from the merging
e.g.
....
<logentry revision="999">
...
<msg>I merge in my changes from another branch</msg>
<logentry revision="995">
...
<msg>A change I made on the other branch</msg>
</logentry>
<logentry revision="994">
...
<msg>A change I made on the other branch</msg>
</logentry>
</logentry>

As a workaround you can comment out the fatalError(...) in net.sf.statsvn.input.SvnXmlLogFileHandler.checkLastElement(SvnXmlLogFileHandler.java:101).

Discussion


Log in to post a comment.