diff hgext/convert/common.py @ 4873:28b23b9073a8

convert: record the source revision in the changelog
author Brendan Cully <brendan@kublai.com>
date Fri, 13 Jul 2007 08:28:57 -0700
parents 1fcdf2fe3d7c
children cdd33a048289
line wrap: on
line diff
--- 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)