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

Re: Setting Revprops before Revision is Created

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 22 Jun 2010 17:38:00 +0300 (Jerusalem Daylight Time)

David Weintraub wrote on Tue, 22 Jun 2010 at 14:40 -0000:
> Thanks!
>
> That's all I have to know. It is possible to set revprops when doing a
> commit, so I should have a mechanism to check for those when doing a
> commit too.
>

You're welcome.

(The mechanism ought to be 'svnlook -t' from the pre-commit hook.)

Daniel

> I thought that 1.5 allowed it, but I didn't know how.
>
> On Tue, Jun 22, 2010 at 1:15 AM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> > There is 'svn commit --with-revprop' in >=1.5, does that help?
> >
> > David Weintraub wrote on Tue, 22 Jun 2010 at 07:36 -0000:
> >> I know this sounds strange, but can you set a revision property before
> >> a revision is created?
> >>
> >> For example, I make some file changes, and want to mark that my
> >> changes fixed bug # 1001. To do this, I'll set a revision property
> >> "corp:bugbix" to "1001". Then, I'll check in my changes with the new
> >> revision property.
> >>
> >> There are several revision properties that are set before the revision
> >> is committed: svn:log, svn:date, and svn:author. However, these are
> >> special revision properties used by Subversion. I'd like to have a
> >> pre-commit trigger to force users to set a particular custom revision
> >> property before checking in their code.
> >>
> >> I know older versions of Subversion could not do this, but I thought
> >> 1.5 or 1.6 could.
> >>
> >> Just working on a new pre-commit trigger, and want to know if this is
> >> something I can do.
> >>
> >>
> >
>
>
>
>
Received on 2010-06-22 16:37:42 CEST

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.