RE: Re: how to get log for X last revisions
From: Peter Kahn <pkahn_at_connected.com>
Date: 2005-03-08 22:44:01 CET
The limit is cool.
There is a scripted way to achieve it for now that would follow this
1. obtain head a number svn log -rHEAD <url to root of repos>
It isn't ideal, but it tends to work.
-- Peter Kahn pkahn@connected.com Connected Corporation, A subsidiary of Iron Mountain Incorporated PackReq Described: http://svn:8080/svn/repos/Welcome_To_SVN/buildFarmTutorial.html#Packager -----Original Message----- From: Garrett Rooney [mailto:rooneg@electricjellyfish.net] Sent: Tuesday, March 08, 2005 4:02 PM To: Moisei Cc: users@subversion.tigris.org Subject: Re: how to get log for X last revisions 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Tue Mar 8 22:49:58 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.