I'm struggling for a number of hours now with the --ignore-paths option to git-svn, in an attempt to fetch only certain tags from a large repository.
I want to start the fetch at dev, which looks like
> svn ls http://192.168.0.2/svn/repo/corporation/dev
branches/
tags/
trunk/
The repository directory listing for the complete set of tags looks like this:
> svn ls http://192.168.0.2/svn/repo/corporation/dev/tags
Acme-4.x/
Acme-5.0/
Acme-5.1/
Acme-5.2/
Acme-5.3/
Acme-5.4/
Acme-5.5/
Acme-5.6/
Acme-5.7/
Acme-5.8/
Acme-5.9/
I want to ignore all tags before Acme-5.5.
I attempt to initialize and fetch thusly:
> git svn init http://192.168.0.2/svn/repo/corporation/dev
> git config svn.authorsfile ../users.txt
> git svn fetch --ignore-paths="Acme-4.x|Acme-5.0|Acme-5.1|Acme-5.2|Acme-5.3|Acme-5.4"
Unfortunately, I still see fetches occuring in the Acme-4.x tag. The fetches are manifested on the console by telltale paths such as
A ACME4.4/source/database/mssql/components/functions/vssver.scc
I've tried a bunch of variations on the regex, including full paths to the tags I want to ignore, which after an hour or two turned into utter regex thrashing and desperation. I've provided the --ignore-paths option to git-svn-init, all to no avail.
Would someone be kind enough to comment on why the regex's are not suppressing fetches on the paths specified in the ignores-regex.
Thanks.