Re: Usage for svn list
From: Ryan Schmidt <subversion-2010a_at_ryandesign.com>
Date: Wed, 27 Jan 2010 22:29:07 -0600
On Jan 26, 2010, at 11:19, Tim Landscheidt wrote:
> Anyhow, is there a "proper" way to deduce a revision num-
Yes, you can use "svn log" to do the lookup of what revision corresponds to what date, or rather, what revision occurs immediately before the specified date. For example:
$ svn log -r '{2010-01-01}' --limit 1 -q \
(The last revision committed to the MacPorts repository before January 1, 2010 was r62218 committed the evening of December 31, 2009.)
To reduce this to just a revision number, I could use awk:
$ svn log -r '{2010-01-01}' --limit 1 -q \
|
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.