Hello, At revision 1240 /branches/0.9.0 folder was renamed to /trunk (and original trunk has been deleted). So, to track full history of trunk from HEAD to 0, make sure you pass 'false' as 'strictNodeHistory' parameter - in this case copies and renames will be followed by log operation, otherwise log would stop on copy (similar to 'svn log' with --stop-on-copy parameter).
Alexander Kitaev, TMate Software, http://subgit.com/ - Svn to Git Migration! http://svnkit.com/ - Java [Sub]Versioning Library! http://hg4j.com/ - Java Mercurial Library! http://sqljet.com/ - Java SQLite Library! On 16 May 2012 15:02, Mux MM <[email protected]> wrote: > Hello, > there is no difference between svn log command and my code. > Using 0 as startRev and -1 as HEAD, we should get everything, right? > Using the svnkit library is straightforward (really a great work guys!), so > I think > that I found, accidentally, something wrong (i.e. bug). > The url is the same, the parameters are correct and I get different outputs. > Well, they are no really different, but the svnkit one is "contained" in the > svn log command one. > The svnkit command gets all revisions until 2004 (the first one), whereas > the svnkit code gets only revisions > until 2005. > > SVN log: > > r1 | alex | 2004-12-16 [...] > > initial revision (relocated) > > ... > > SVNkit: > > r1240 > alex > 2005-08-02 > 0.9.0 is now trunk > > So, r1 vs r1240. We are missing some months! > > P > > > > > > > Hello, > > What is difference between log command output and your code? > Make sure you specify the same URL for the command line log command > and SVNRepository location URL. > > Alexander Kitaev, > TMate Software, > http://subgit.com/ - Svn to Git Migration! > http://svnkit.com/ - Java [Sub]Versioning Library! > http://hg4j.com/ - Java Mercurial Library! > http://sqljet.com/ - Java SQLite Library! > > > On 15 May 2012 10:17, Mux MM <[email protected] >> wrote: >> I tried with this >> snippet:?http://wiki.svnkit.com/Printing_Out_Repository_History >> Using the same repository (svnkit), the output is rather different from >> the >> simple svn log command. >> We are missing part of the history. Why? >> >> My apologies, I was tired and I directly replied to you. >> >> >> >> ----- Original Message ----- >> >> From: Dmitry Pavlenko >> >> Sent: 05/14/12 11:45 PM >> >> To: Mux MM >> >> Subject: Re: svn history >> >> >> >> Hello, >> Could you send native SVN output, SVNKit output and the command or the >> code >> that you call to obtain >> these logs? >> >> If the repository is public, please send its URL too. >> >>> Hello to everyone. >>> I'm encountering a problem to get revision history with svnkit. >>> Starting from the wiki example, I'm trying to get that history, but it is >>> not the same of the "svn log" command. In fact, if I compare the two >>> logs, >>> they are rather different: the svnkit one is missing some "old" >>> revisions. >>> I'm using "0" as startRev and "HEAD(-1)" as endRev. So, what is the >>> matter? Where am I wrong? >>> >>> Thank you in advance. >>> >>> Best regards, >>> >>> P >> >> > > > > ------------------------------ > > _______________________________________________ > svnkit-users mailing list > [email protected] > http://lists.tmatesoft.com/mailman/listinfo/svnkit-users > > End of svnkit-users Digest, Vol 16, Issue 10 > ******************************************** > >
