You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Moisei <mo...@gmail.com> on 2005/03/08 20:57:21 UTC

how to get log for X last revisions

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...

Thanks,
-- 
Best Regards,
Moisei

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: how to get log for X last revisions

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
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