[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 08:15:30 +0300 (Jerusalem Daylight Time)

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 07:15:14 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.