hgext/convert/common.py
changeset 4873 28b23b9073a8
parent 4812 1fcdf2fe3d7c
child 4939 cdd33a048289
--- a/hgext/convert/common.py
+++ b/hgext/convert/common.py
@@ -4,6 +4,9 @@ class NoRepo(Exception): pass
 
 class commit(object):
     def __init__(self, **parts):
+        self.rev = None
+        self.branch = None
+
         for x in "author date desc parents".split():
             if not x in parts:
                 raise util.Abort("commit missing field %s" % x)