hg-fast-import.py: Sanitize ref names
commit4cc930807d314f63ee3867e1143c62e34bc15aa6
authorRocco Rutte <pdmef@gmx.net>
Fri, 26 Oct 2007 14:06:40 +0000 (26 16:06 +0200)
committerRocco Rutte <pdmef@gmx.net>
Fri, 26 Oct 2007 14:06:40 +0000 (26 16:06 +0200)
tree7d23b7e67d32765a3108da2e245ae58e1d87c629
parent431c32de6b0879f4a8ae0447923ccc4a28577395
hg-fast-import.py: Sanitize ref names

At least the opensolaris hg repo has tag names containing '*',
so sanitize all branch and tag names roughly according to the
specs for git-check-ref-format(1).

Signed-off-by: Rocco Rutte <pdmef@gmx.net>
hg-fast-export.py