Re: Bug in svnadmin setrevprop?
"C. Michael Pilato" <[email protected]> Thu, 10 Dec 2009 01:50:39 -0500
| Newsgroups | gmane.comp.version-control.subversion.devel,gmane.comp.version-control.subversion.rapidsvn.devel |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
Jason Malinowski wrote:
> I was trying to set a revprop (svn:author) on a range of revisions in a
> repo. It seems that despite the help text, it doesn't work.
>
> $ svnadmin --version
> svnadmin, version 1.6.6 (r40053)
> compiled Nov 2 2009, 22:39:33
>
> $ svnadmin help setrevprop
> setrevprop: usage: svnadmin setrevprop REPOS_PATH -r REVISION NAME FILE
> {snip}
> Valid options:
> -r [--revision] ARG : specify revision number ARG (or X:Y range)
>
> $ svnadmin setrevprop repo/ -r 1:2 svn:author message.txt
> svnadmin: Try 'svnadmin help' for more info
> svnadmin: Only one revision allowed
>
> So the help says I can use a range, but range syntax isn't actually
> accepted. Is this a known bug, or something that should be filed (or, of
> course, a PEBKAC problem)?
It's a side-effect of the fact that the Subversion command-line tools have a
shared option space, so the descriptions of a given option are generic
across all the subcommands for that tool. Because some of svnadmin's
subcommands accept revision ranges ("dump", for example), the global
description of that option insides that perhaps a range could be used.
--
C. Michael Pilato <[email protected]>
CollabNet <> www.collab.net <> Distributed Development On Demand
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2429110
Please start new threads on the <[email protected]> mailing list.
To subscribe to the new list, send an empty e-mail to <[email protected]>.
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAksgmj8ACgkQokEGqRcG/W7gegCfYcebhyekf2K6QqieYf3fePEI a7gAn3zZvhTiyCwfXztl4LX75RSHNVeQ =Tw1L -----END PGP SIGNATURE-----