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

RE: Re: Modifying file properties in pre-commit

From: Lira Olavo <Olavo.LIRA_at_gemalto.com>
Date: Sat, 13 Sep 2008 22:34:19 +0200

Yes but isn't it the same as working within a team? It is like you
commit something and then someone after you commit a new version, so
your version now is not up-to-date. Why would you call it "break the
checkout"?

Olavo Lira

-----Original Message-----
From: Blair Zajac [mailto:blair_at_orcaware.com]
Sent: Saturday, September 13, 2008 3:55 PM
To: Purple Streak
Cc: SVNUsers
Subject: Re: Modifying file properties in pre-commit

Purple Streak wrote:
> Ok - I know that I _shouldn't_ ever do this, but putting that aside is
> it actually physically possible, using say the python bindings, to
> write a pre-commit hook that will add or amend a file property of one
> of the files in the transaction?

Well, yes, but you'll break the checkout you did the commit from since
the
server side copy is not the same as what it thinks it sent.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair_at_orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-13 22:34:49 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.