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

Re: Revision Properties Question

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-06-20 21:13:06 CEST

kfogel@newton.ch.collab.net wrote on 06/20/2005 02:26:02 PM:

> Mark Phippard <MarkP@softlanding.com> writes:
> > > I would like to enforce this in a hook. Is there a way I can via the
> > > pre-commit hook to see whether a revision property was actually set?
> >
> > It isn't possible to set a custom revision property as part of a
commit,
> > so it definitely isn't possible to enforce it with a hook.
>
> Why is this impossible? You can just set the revision property on the
> txn (pre-commit hook receives the txn name), and then the property
> will get automatically preserved when the txn turns into a revision.

I meant for a user using the command line or other client which was the
foundation of David's question. David wanted to validate that they had
set a revision property as part of their commit. I was pointing out that
would be impossible -- which it is.

http://subversion.tigris.org/issues/show_bug.cgi?id=1976

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 20 21:14:50 2005

This is an archived mail posted to the Subversion Users mailing list.