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
Would someone be kind enough to comment on why the regex's are not suppressing fetches on the paths specified in the ignores-regex.
This path
ACME4.4/source/database/mssql/components/functions/vssver.scc
was fetched despite the --ignore-paths
argument because it just didn't match the regex.
There is no -
between "ACME" and "4.4" in this path.
And if the regex is case-sensitive, "ACME" won't match "Acme".
This should have worked better:
git svn fetch --ignore-paths="ACME4.x|ACME5.0|ACME5.1|ACME5.2|ACME5.3|ACME5.4"
Note that --ignore-paths
targets file names, not tags.
(I bet you solved the issue long ago - this post is 4 years old).