Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to exclude a tag #291

Open
cwiklik opened this issue May 5, 2020 · 0 comments
Open

How to exclude a tag #291

cwiklik opened this issue May 5, 2020 · 0 comments

Comments

@cwiklik
Copy link

cwiklik commented May 5, 2020

I have an svn repo with a tag named -rc1 and many others following a different naming convention (basically {project}-{version}-rc{N}. When I run svn2git as follows
svn2git https://svn.apache.org/repos/asf/uima/uima-as --exclude '-rc1' --authors ~/authors.txt -v

git fails with > error: unknown switch `r'
Since I am running svn2git with verbose flag I see that the failure happens here
Running command: git svn fetch --ignore-paths='^(?:trunk[/]|tags[/][^/]+[/]|branches[/][^/]+[/])(?:-rc1)'

I tried double quotes around -rc1 with no success. Seems like git interprets -rc1 as an option.
So how do I exclude such tag when running svn2git?
Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant