> -----Original Message-----
> From: Stein Somers [mailto:ssom...@opnet.com] 
> Sent: 24 February 2010 13:50
> To: users@subversion.apache.org
> Subject: Re: Modify files in start-commit
> 
> 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.

Interesting, hadn't considered externals use, certainly food for thought. I 
need to read up a little about it.

I suspect that the external isn't updated automatically for the committer in 
this case is it?
And it probably isn't checked that it's in sync when other developers commit in 
the same area?


> -----Original Message-----
> From: Erik Andersson [mailto:kir...@gmail.com] 
> Sent: 24 February 2010 12:56
> To: Bailey, Darragh
> Cc: users@subversion.apache.org
> Subject: Re: Modify files in start-commit
> 
> Hi
> 
> Not sure I really understand the problem, but how about 
> creating a tag(version) in post-commit?
> 
> /component/trunk -> /component/version/build<rev>
> 
> Cheers / Erik


I perfer the building of the associated packages to not have to query svn in 
order to work out what the current version/release of the component being built 
actually is. Also want developers when they are working on trunk or any other 
branch to be building the same version as the build system. That type of scheme 
could work if we're happy that only the build system is producting properly 
versioned packages.



--
Regards,
Darragh Bailey

Systems Software Engineer
Hewlett Packard Galway Ltd.

Postal Address:    Hewlett Packard Galway Limited, Ballybrit Business Park, 
Galway
Registered Office: Hewlett Packard Galway Limited, 63-74 Sir John Rogerson's 
Quay Dublin 2
Registered Number: 361933 

Reply via email to