You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.
As discussed here, hg-git runs into a dulwich.errors.RefFormatError when the refname includes a character in BAD_REF_CHARS (refs.py).
The suggestion is to have hg-git mangle/replace BAD_REF_CHARS with other characters. This should be very simple with something like...
from string import maketrans
bad2good = maketrans(BAD_REF_CHARS, b'ABCDEFGH') # or replace [A-H] with something more meaningful
refname = refname.translate(bad2good)
I would be happy to submit a pull request, but I need help to determine where this should be done.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As discussed here, hg-git runs into a
dulwich.errors.RefFormatError
when therefname
includes a character inBAD_REF_CHARS
(refs.py).The suggestion is to have
hg-git
mangle/replaceBAD_REF_CHARS
with other characters. This should be very simple with something like...I would be happy to submit a pull request, but I need help to determine where this should be done.
The text was updated successfully, but these errors were encountered: