Re: Efficient way to get the previous revision number
From: Paul Koning <Paul_Koning_at_dell.com>
Date: Fri, 2 May 2008 10:12:59 -0400
>>>>> "Giulio" == Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com> writes:
Giulio> Given a revision number I need to find out the revision of
Giulio> What I am doing at the moment is something like
Giulio> svn --quiet log [dir1 URL] 103:1 | head -2 | tail -1 | cut -d" " -f1 | cut -dr -f2
Try:
I'm curious why you want the previous rev number -- it seems like a
paul
---------------------------------------------------------------------
|
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.