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

Re: Mnemomic names for revisions

From: Daniel Patterson <danpat_at_danpat.net>
Date: 2005-05-10 05:09:05 CEST

Brian Huddleston wrote:
>
> Well, if it was unclear, I was fiat-ing that the server would catch a
> second
> propset as an "error". The first time your set svn:label on revision 1234
> you would succeed. The second time you set svn:label on revision 1234 you
> would get an error. (Then we presumably allow some sort of --force if
> people sincerely did screw up.)

  You can already have that behaviour with the pre-rev-propset hook.

>
> I'll leave arguments about whether special casing behavior for a
> particular
> revision property is wise/elegant/advisable/possible to people, such as
> yourself, who actually understand how the system is put together under the
> cover. This is simply a naive feature request bundled with a naive
> implementation suggestion. :-)

  Perhaps what you *really* want is a "svn revpropfind" command which
  makes it easy to run queries against property data? This would
  make it relatively simple to do:

    svn co -r`svn revpropfind --firstonly eq svn:label Build_123 $URL` $URL

  Some of the metadata in the repository is a little hard to get at
  right now (read: not as efficient as it could be).

daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 10 05:11:12 2005

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.