Skip to content
New issue

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

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

Already on GitHub? # to your account

error excluding tags with ${} names #298

Open
quimicefa opened this issue Dec 2, 2020 · 0 comments · May be fixed by #301
Open

error excluding tags with ${} names #298

quimicefa opened this issue Dec 2, 2020 · 0 comments · May be fixed by #301

Comments

@quimicefa
Copy link

Hi,
I'm trying to migrate a SVN repsitory which has some tags with following names: ${version.technical}, ${BUILD_NUMBER}. (These tag names have bveen created when tagging from jenkins)
svn2git runs fine when adding --notags flag, but I want to include all tags but these 2 in the git repo.

Tested lots of combinations of --exclude flag, but i'm no sure which syntax should I use ...
Now, i'm getting this:
creating empty directory: repo-name/src/main/resources/js/test sh: svn/tags/${version.technical}: bad substitution command failed: git log -1 --pretty=format:'%s' "svn/tags/${version.technical}" command failed: git config --local --unset user.name

BTW, --exclude './tags/.' should be equivalent to --notags flag, right?
Removing these 2 tags in the current SVN does not help us because these tags still exist in the repo's history. How can we scape the ${} chars?

@quimicefa quimicefa linked a pull request Jan 12, 2021 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
@quimicefa and others