[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Log Messages

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-02-12 01:33:07 CET

On Feb 11, 2004, at 7:23 PM, Daniel Bradby wrote:

> Hi,
>
> I've been trying to track down a problem in Subclipse where we
> sometimes don't get all the history for a file. This seems to occur to
> files that have moved location.
>
> Using the sample code I am only seeing two history entries
>
> SVNClient svnClient = new SVNClient();
> LogMessage[] logs =
> svnClient.logMessages("file:///g:/repos/Test2/test/test2.txt", new
> Revision.Number(0), Revision.HEAD);
> System.out.println(logs.length);
>
> Prints out "2"
>
> I also only get two log entries when using RapidSVN .. yet ....
>
> The svn command line svn log -r 0:HEAD
> file:///g:/repos/Test2/test/test2.txt gives me the full history.
>

I suspect you're not setting whatever option in the Java API
corresponds to the --stop-on-copy flag to 'svn log' correctly. In 'svn
log' the default behavior is to follow copies, you appear to be doing
the opposite.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 12 01:33:29 2004

This is an archived mail posted to the Subversion Users mailing list.