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

Re: Modify files in start-commit

From: Stein Somers <ssomers_at_opnet.com>
Date: Wed, 24 Feb 2010 14:50:29 +0100

On second thought, how about this: don't change the transaction, but
keep the VERSION file in a separate repository, that you reference
through svn:external. That way, you don't modify the contents of the
transaction - you just add a second transaction. Of course it's your
responsibility to tie together these transactions. But if you first do
your normal pre-commit checks (if any), then commit the VERSION
transaction, and if that succeeds return a yes from the pre-commit hook,
then the chances of the overall transaction failing are small and the
consequences minimal.

-- 
Stein
Received on 2010-02-24 14:51:05 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.