From: SourceForge.net <no...@so...> - 2008-06-15 15:34:40
|
Bugs item #1813635, was opened at 2007-10-15 03:45 Message generated for change (Comment added) made by jkealey You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=833326&aid=1813635&group_id=164845 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Resolution: Invalid Priority: 5 Private: No Submitted By: Dennis Haney (davh) Assigned to: Nobody/Anonymous (nobody) Summary: Diff not working Initial Comment: We seem to have an XML that gets parsed incorrectly. it has 85189 PATH entries in the logxml. statsvn says it must get 33934 Diffs. But it ends up passing this number and saying: svn diff 67865/33934: ... and then it doesnt work at all, it ends up with hundres of theseerrors: Revision of xxx does not match expected revision File yyy has no revision The cache file looks like this: <path binaryStatus="FALSE" latestRevision="21118" name="/trunk/xxx"/> <path binaryStatus="FALSE" latestRevision="21118" name="/trunk/yyy"/> <path binaryStatus="FALSE" latestRevision="21118" name="/trunk/nnn"/> <path binaryStatus="FALSE" latestRevision="21118" name="/trunk/ppp"> <revision added="4" binaryStatus="FALSE" number="1945" removed="4"/> <revision added="2" binaryStatus="FALSE" number="3895" removed="2"/> <revision added="7" binaryStatus="FALSE" number="7198" removed="7"/> <revision added="1" binaryStatus="FALSE" number="7937" removed="2"/> <revision added="2" binaryStatus="FALSE" number="10701" removed="2"/> <revision added="2" binaryStatus="FALSE" number="14466" removed="25"/> <revision added="6" binaryStatus="FALSE" number="14523" removed="6"/> <revision added="10" binaryStatus="FALSE" number="14546" removed="19"/> <revision added="4" binaryStatus="FALSE" number="14697" removed="8"/> <revision added="13" binaryStatus="FALSE" number="14906" removed="24"/> <revision added="1" binaryStatus="FALSE" number="16248" removed="2"/> </path> Most recent commits for ppp ends up like this: 0 lines of code changed in: dsfg: ppp (new) And the one before that is 2 lines of code changed in: dsfg: ppp (+1 -2), other (+1 -2) Which is of course wrong... ---------------------------------------------------------------------- >Comment By: Jason Kealey (jkealey) Date: 2008-06-15 11:34 Message: Logged In: YES user_id=1498924 Originator: NO Please try the diff module in v0.4 (or the upcoming 0.4.1)? ---------------------------------------------------------------------- Comment By: aedatars (aedatars) Date: 2008-02-08 17:05 Message: Logged In: YES user_id=2004279 Originator: NO I am seeing the same behavior even with the correct order of the -r arguments on svn log. Many errors in the log file of the type File xxx has no revision Revision of xxx does not match expected revision The end result is that LOC calculations are off. Interstingly this behavior is semi-random. The files that cause errors are the same even after the cache file is removed and the log file regenerated, but they change after the client is rebooted. Running on Windows with recent version of Java, Svn, and StatSvn. ---------------------------------------------------------------------- Comment By: Jason Kealey (jkealey) Date: 2007-10-24 09:38 Message: Logged In: YES user_id=1498924 Originator: NO Excellent gotcha! Thanks for letting us know. Closing bug. ---------------------------------------------------------------------- Comment By: Dennis Haney (davh) Date: 2007-10-24 02:19 Message: Logged In: YES user_id=272041 Originator: YES Found out what the actual problem is... I had -r "{2005-01-01}:{2007-01-01}", which creates the log in the REVERSE order. The correct way is to -r "{2007-01-01}:{2005-01-01}" ---------------------------------------------------------------------- Comment By: Jason Kealey (jkealey) Date: 2007-10-24 00:45 Message: Logged In: YES user_id=1498924 Originator: NO You must have something special on your Windows box because it works as intended with a stock install. (My dev environment..) It depends on your SVN installation. Feel free to let us know if you figure out the source problem. ---------------------------------------------------------------------- Comment By: Dennis Haney (davh) Date: 2007-10-23 22:28 Message: Logged In: YES user_id=272041 Originator: YES I got it working under Linux... It doesnt work under windows at all ---------------------------------------------------------------------- Comment By: Dennis Haney (davh) Date: 2007-10-15 03:57 Message: Logged In: YES user_id=272041 Originator: YES -debug and -dump gives this extra info: Revision of ppp does not match expected revision (all lines with ppp) lines:884 D:0 Rep:0 New:0 Initial:N BegLog:Y Dead:N ppp tags:null lines:835 D:0 Rep:4 New:4 Initial:N BegLog:N Dead:N ppp tags:null lines:835 D:0 Rep:2 New:2 Initial:N BegLog:N Dead:N ppp tags:null lines:835 D:0 Rep:7 New:7 Initial:N BegLog:N Dead:N ppp tags:null lines:835 D:-1 Rep:1 New:1 Initial:N BegLog:N Dead:N ppp tags:null lines:836 D:0 Rep:2 New:2 Initial:N BegLog:N Dead:N ppp tags:null lines:836 D:-23 Rep:2 New:2 Initial:N BegLog:N Dead:N ppp tags:null lines:859 D:0 Rep:6 New:6 Initial:N BegLog:N Dead:N ppp tags:null lines:859 D:-9 Rep:10 New:10 Initial:N BegLog:N Dead:N ppp tags:null lines:868 D:-4 Rep:4 New:4 Initial:N BegLog:N Dead:N ppp tags:null lines:872 D:-11 Rep:13 New:13 Initial:N BegLog:N Dead:N ppp tags:null lines:883 D:-1 Rep:1 New:1 Initial:N BegLog:N Dead:N ppp tags:null lines:0 D:0 Rep:0 New:0 Initial:Y BegLog:N Dead:N ppp tags:null lines:884 D:0 Rep:0 New:0 Initial:N BegLog:N Dead:N ppp tags:null File 5402/ ppp LOC:884 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=833326&aid=1813635&group_id=164845 |