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

Re: Automatically change property

From: <kmradke_at_rockwellcollins.com>
Date: Wed, 9 Jan 2008 10:57:00 -0600

Matt Pounsett <matt_at_conundrum.com> wrote on 01/09/2008 10:47:20 AM:
> On 2008-Jan-09, at 11:38, kmradke_at_rockwellcollins.com wrote:
> > The pre-commit.tmpl file appears to suggest changing revision
> > properties
> > is ok:
> >
> > # *** NOTE: THE HOOK PROGRAM MUST NOT MODIFY THE TXN, EXCEPT ***
> > # *** FOR REVISION PROPERTIES (like svn:log or svn:author). ***
> >
> > I haven't tested to see what happens, but if this is true, it would
> > mean the extra commit step should not be required if you enable
> > revision propchanges on your repo and you use --revprop instead.
> >
> > Anyone see any big problems with this?
>
> That's a *revision* property, not a file property. Revision
> properties apply to the entire commit (svn:log, svn:author, and
> svn:date are the only ones that come to mind). The initial question
> in this thread was about a file property, which can't be changed the
> same way as a revprop.

I realized this. I believe you can add arbitrary revision
properties. It would take more information stored in the
revision property, such as a filepath/version combo, but it should
still be possible (albeit highly unrecommended).

Kevin R.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-09 17:57:10 CET

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.