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

Filter out files while creating a tag / modify transaction?

From: <qa_at_naasner.de>
Date: 2007-08-24 14:48:38 CEST

hi,
we use externals to include the content of a /tags url of a 2nd
repository into different projects. this works well so far.

the problem is, that the tagged url includes some files which are
internal and not intended for delivery to the customer (about 300
internal files which are spread over many directories).
until now we use a batch file to delete them prior delivery to the customer.

because that is not very safe, i'm looking for a automatic solution. i
was thinking about to modify the transaction via a pre-commit hook when
creating the tag, which would not be a problem in this case because no
working copy needs to be ever in sync with the tag.
the modification could take place only when commiting to a special
tag-url: /tags/delivery

so that if you tag to
/tags/internal/rel-1.0.0
the tag will be created the default way.

when you tag to
/tags/delivery/rel-1.0.0
the internal files will be filtered out by a pre-commit hook.

it would be even cooler if you could tag to /tags/internal/rel-1.0.0
and the second (filtered) tag /tags/delivery/rel-1.0.0 will be created
automatically by a hook script.

any suggestion how to do that at server side via hook scripts?

erik

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 24 14:43:36 2007

This is an archived mail posted to the Subversion Users mailing list.