hgext/convert/git.py
changeset 4873 28b23b9073a8
parent 4809 c2d529f288a1
child 5076 ef338e34a906
--- a/hgext/convert/git.py
+++ b/hgext/convert/git.py
@@ -80,7 +80,8 @@ class convert_git(converter_source):
         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):