Re: How to get list of valid revision numbers for an element?
From: Ryan Schmidt <subversion-2010b_at_ryandesign.com>
Date: Mon, 19 Apr 2010 16:31:59 -0500
On Apr 19, 2010, at 14:55, David Weintraub wrote:
> $ svn log 1:HEAD $element #List from first to last
You forgot a "-r" in there before the revision numbers. But better yet, if you just want the revision numbers (and not also the log messages, timestamps, authors, etc.):
$ svn log -q -r 1:HEAD $element | awk '/^r/ {print $1}'
$ svn log -q -r HEAD:1 $element | awk '/^r/ {print $1}'
|
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.