You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "qa@naasner.de" <qa...@naasner.de> on 2007/08/24 12:48:38 UTC

Filter out files while creating a tag / modify transaction?

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