[viewvc-dev] Re: [viewvc-users] Large number of changes

Michael Brailsford <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Message-ID <106062.57789.qm__34011.5151637748$1196455198$gmane$org@web37508.mail.mud.yahoo.com>
Ok, I'll start the task of breaking the changes up into smaller, more digestable patches.

> >     - I added the ability to limit the number of results displayed on
> >       the log view, it defaults to only 30 entries, but via
> an
> 
 on-page
> >       form you can change it to any number you want.
> 
> You do know that ViewVC already has some support for pagination,
> right?
> 
  See
> the 'use_pagesize' configuration parameter.

No, I wasn't aware of that.  I'll take a look at it.  But I made the change so that it only returns that specific number of item from the svn python binding calls, which speeds up the "pagination" significantly.

> >     - Added code to allow the log view to display the log beginning
> >       at a specific revision.
> 
> This, too, is already present for Subversion repositories by way of the
> sticky revision.  (Unless you are using "beginning at a specific 
 revision"
> to mean "with a custom oldest revision" instead of "with a custom 
 youngest
> revision".)

I believe this is the 'at_rev' parameter.  That is what I used.  I think I might have over sold myself here, I think i just used what was already available.


-Michael



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.