hgext/convert/common.py
changeset 4873 28b23b9073a8
parent 4813 1fcdf2fe3d7c
child 4957 cdd33a048289
--- a/hgext/convert/common.py	Thu Jul 12 22:55:44 2007 -0700
+++ b/hgext/convert/common.py	Fri Jul 13 08:28:57 2007 -0700
@@ -4,6 +4,9 @@
 
 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)