# HG changeset patch # User Siddharth Agarwal <sid0@fb.com> # Date 1413419634 25200 # Wed Oct 15 17:33:54 2014 -0700 # Node ID 7ff4913e72dfea51a3e362c52ec8225ed6908bee # Parent ff619fa30d5e5356385828651317e64390eeaa15 git2hg.extract_hg_metadata: use None as default branch value Using False for this is just weird. diff --git a/hggit/git2hg.py b/hggit/git2hg.py --- a/hggit/git2hg.py +++ b/hggit/git2hg.py @@ -83,7 +83,7 @@ split = message.split("\n--HG--\n", 1) renames = {} extra = {} - branch = False + branch = None if len(split) == 2: message, meta = split lines = meta.split("\n")