mirror of
https://github.com/frej/fast-export.git
synced 2026-01-23 06:32:03 +01:00
hg2git: set proper default branch
So that cfg_master is picked up in get_branch(). Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
@@ -95,7 +95,7 @@ def get_changeset(ui,repo,revision,authors={},encoding=''):
|
||||
user=user.decode(encoding).encode('utf8')
|
||||
desc=desc.decode(encoding).encode('utf8')
|
||||
tz=b"%+03d%02d" % (-timezone // 3600, ((-timezone % 3600) // 60))
|
||||
branch=get_branch(extra.get(b'branch', b'master'))
|
||||
branch=get_branch(extra.get(b'branch', b''))
|
||||
return (node,manifest,fixup_user(user,authors),(time,tz),files,desc,branch,extra)
|
||||
|
||||
def mangle_key(key):
|
||||
|
||||
Reference in New Issue
Block a user