diff --git a/hg2git.py b/hg2git.py index 3015e0b..93e080f 100755 --- a/hg2git.py +++ b/hg2git.py @@ -48,7 +48,7 @@ def get_branch(name): # HEAD may be from CVS imports into hg if name=='HEAD' or name=='default' or name=='': name=cfg_master - return name + return name.replace(' ', '_') def get_changeset(ui,repo,revision,authors={}): node=repo.lookup(revision)