changeset 799:7ff4913e72df

git2hg.extract_hg_metadata: use None as default branch value Using False for this is just weird.
author Siddharth Agarwal <sid0@fb.com>
date Wed, 15 Oct 2014 17:33:54 -0700
parents ff619fa30d5e
children 4db6c4e0ccd7
files hggit/git2hg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hggit/git2hg.py	Wed Oct 22 22:30:10 2014 -0700
+++ b/hggit/git2hg.py	Wed Oct 15 17:33:54 2014 -0700
@@ -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")