[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: Bailey, Darragh <dbailey_at_hp.com>
Date: Wed, 24 Feb 2010 15:40:03 +0000

> -----Original Message-----
> From: Stein Somers [mailto:ssomers_at_opnet.com]
> Sent: 24 February 2010 13:50
> To: users_at_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:kirean_at_gmail.com]
> Sent: 24 February 2010 12:56
> To: Bailey, Darragh
> Cc: users_at_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 
Received on 2010-02-24 16:42:36 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.