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

error creating tags #31

Open
azatoth opened this issue Sep 1, 2011 · 3 comments
Open

error creating tags #31

azatoth opened this issue Sep 1, 2011 · 3 comments

Comments

@azatoth
Copy link

azatoth commented Sep 1, 2011

Tried to clone http://bzr.debian.org/apt/python-apt/debian-sid, and got following error:

fatal: Branch name doesn't conform to GIT standards: refs/tags/0.8.0~exp4
fast-import: dumping crash report to .git/fast_import_crash_15223
@termie
Copy link
Owner

termie commented Sep 7, 2011

if you import with the --strip-tags option it will ignore bzr tags, unfortunately since there is no way to make a tag with a tilde (~) in git there are not many other options.

does that solve your issue?

@azatoth
Copy link
Author

azatoth commented Sep 14, 2011

Seems in newer version of git, this is only an warning luckily (WARNING: not creating tag 'refs/tags/0.8.0~exp4' as its name would not be valid in git), but I still think this can be fixed by escaping the bzr tag when needed and unescape it on the return flight.

@termie
Copy link
Owner

termie commented Sep 14, 2011

when i looked into this before I couldn't come up with any reasonable escaping strategies, tags are totally freeform in bzr and have a variety of constraints in git, also it is just not very easy to modify those branch names inline while doing the import as a good portion of the import code is outside of git-bzr-ng

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

2 participants