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

Re: Subversion web interfaces

From: Paul Koning <pkoning_at_equallogic.com>
Date: 2005-12-15 23:12:52 CET

>>>>> "Bart" == Bart Robinson <lomew@pobox.com> writes:

 Bart> On 2005-12-15 Paul Koning <pkoning@equallogic.com> wrote:
>> I didn't find the browsing all that bad in ViewVC, except
>> sometimes when you have long logs. It would be good if Subversion
>> had a native way to say "give me the next N log entries starting
>> here". You can hack that, using shell tools, with "svn log
>> ... |head -N", but ViewVC needs an API way to do it.

 Bart> Can you effect this with the --limit arg to log? I'm not
 Bart> familiar with the svn_client api, but a quick look shows
 Bart> svn_client_log2 to have that arg.

Seems that way. I missed that because I usually consult my paper
Subversion book, which is for V1.0. Then again, ViewVC uses the
Python API for Subversion. I looked at it a bit to see if some
similar thing could be done there, but I don't speak enough Python to
figure it out. And I don't see much documentation for that API.

 Bart> A problem I had with viewvc was in annotate mode. Normally
 Bart> clicking on a revision number 123 brings up the diff for that
 Bart> file for 122:123. This backtraces when the file was Added in
 Bart> rev 123 since diff says something like "can't find file in rev
 Bart> 122" instead of behaving like cvs diff -N and diffing against
 Bart> /dev/null. I think I remember seeing an issue filed for
 Bart> something similar. Anyone know a workaround for this? Maybe
 Bart> the new --change option will handle it? I tried diff with the
 Bart> @rev style paths and got the same thing.

I logged that as a defect against ViewVC the other day. Yes, that
seems to be a diff restriction. ViewVC could avoid that problem by
finding out which rev is the oldest rev for a file and not putting a
hyperlink on that rev number in the annotate output.

          paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 15 23:16:26 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.