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
On Wed, Feb 24, 2010 at 12:34 PM, Bailey, Darragh <dbailey_at_hp.com> wrote:
> Is it possible to modify files in a start-commit hook and include them with
> a commit?
> We have multiple components here in the same svn tree, and we'd like to
> bump a release number on each one as commits occur. Rather than trying to
> add code to check how many commits have been made to the area at build time,
> I'm considering whether it would be possible to have a hook script edit a
> VERSION file under the affected commponent area, incrementing a number in
> there by 1 and including that file in the commit.
> Is that actually possible, or would I instead have to force the developers
> to aways modify the file VERSION and check for it's present in the
> Darragh Bailey
> Systems Software Engineer
> Hewlett Packard Galway Ltd.
> Postal Address: Hewlett Packard Galway Limited, Ballybrit Business Park,
> Registered Office: Hewlett Packard Galway Limited, 63-74 Sir John
> Rogerson's Quay Dublin 2
> Registered Number: 361933
Received on 2010-02-24 13:56:18 CET