On Fri, Aug 30, 2013 at 8:15 PM, Max Kirillov <m...@max630.net> wrote:
> References which fail check_refname_format() cause the whole
> import to fail. This might be undesirable if the references
> are not important.
> A better solution would be to provide some mapping, either
> by some reversible encoding, or by generating and storing
> the associations locally.
> But this is already going to allow working with many
> existing repositories.

Which repository triggered this?

Maybe we should do something similar as in git-remote-bzr:

def ref_is_valid(name):
    return not True in [c in name for c in '~^: \\']

        if not ref_is_valid(tag):
        print "? refs/tags/%s" % tag

Felipe Contreras
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to