[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn log --revisions-only?

From: Vlad Skvortsov <vss_at_73rus.com>
Date: 2006-10-06 22:14:32 CEST

Hi!

I was thinking about possibility of adding another option to 'svn log'
or somehow modifying existing option set. I often find myself in a need
to list revision numbers of some branch without log messages. For
example, when I need to find a branchpoint for particular branch, I do

$ svn log --stop-on-copy | grep ^r | tail -1

Or, in a script to find SVN revision given CVS revision number (for
converted repository), I need to reiterate over revisions of certain
path, checking 'cvs2svn:cvs-rev' property.

It would be nice if 'svn log' would be able to list revisions only, like

$ svn log --revisions-only --stop-on-copy
r18916 | vss | 2006-10-06 20:07:35 +0000 (Fri, 06 Oct 2006) | 1 line
r18915 | vss | 2006-10-06 19:57:08 +0000 (Fri, 06 Oct 2006) | 1 line
r18914 | vss | 2006-10-06 03:02:13 +0000 (Fri, 06 Oct 2006) | 1 line
r18913 | vss | 2006-10-06 02:59:37 +0000 (Fri, 06 Oct 2006) | 1 line
...

-- 
Vlad Skvortsov, vss_at_73rus.com, http://vss.73rus.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 6 22:55:54 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.