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

RE: Re[2]: Hooks and tagging

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-01-07 15:20:52 CET

-----Original Message-----
From: Régis Priqueler [mailto:lists@aizenko.com]

Thanks for your answer, i'm trying to do it at commit time. I can use
post or pre-commit hook to launch the svn command but how can I change
the content of a file in the repository (or adding it).
-------------------------

I haven't done it, but I suspect you could write a post-commit hook that
watches to see when the magic file name is created within any tag or branch.
When that is done, the post-commit hook could check the file out, edit the
tag/branch identifier within the file, and commit it. The script can
determine the tag/branch identifier from the name of the file.

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 7 15:23:15 2005

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.