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

Re: how to get log for X last revisions

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-03-08 22:01:32 CET

Moisei wrote:
> Hello dear all,
> is it possible to get log of X last revisions without query the last
> revision number and
> without calculate -X for this number?
> I mean something like: svn log -r HEAD:-100
>
> Obvisoully, it is possible to have a first lines with "more" command but for
> 13000 revisions that we have in our repo, it does not look the super
> efficient way...

Wait for Subversion 1.2.0, it'll have a --limit option for 'svn log', so
you can limit the result to whatever number of messages you want. In
order to do this efficiently you'll have to upgrade both your client and
server though, otherwise it simulates the behavior by downloading all
the log entries and only showing the ones you cared about.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 8 22:04:30 2005

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