diff hgext/convert/git.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 c2d529f288a1
children ef338e34a906
line wrap: on
line diff
--- a/hgext/convert/git.py	Thu Jul 12 22:55:44 2007 -0700
+++ b/hgext/convert/git.py	Fri Jul 13 08:28:57 2007 -0700
@@ -80,7 +80,8 @@
         date = tm + " " + str(tz)
         author = author or "unknown"
 
-        c = commit(parents=parents, date=date, author=author, desc=message)
+        c = commit(parents=parents, date=date, author=author, desc=message,
+                   rev=version)
         return c
 
     def gettags(self):