diff hggit/git_handler.py @ 301:09116995c421

export_hg_commit: fix debug note We were outputting the raw SHA-1.
author Tay Ray Chuan <rctay89@gmail.com>
date Mon, 22 Mar 2010 00:36:39 +0800
parents efe9e6a9235f
children 7ddb740ac7cc
line wrap: on
line diff
--- a/hggit/git_handler.py	Wed Mar 03 17:47:00 2010 -0600
+++ b/hggit/git_handler.py	Mon Mar 22 00:36:39 2010 +0800
@@ -188,7 +188,7 @@
     # go through the manifest, convert all blobs/trees we don't have
     # write the commit object (with metadata info)
     def export_hg_commit(self, rev):
-        self.ui.note(_("converting revision %s\n") % rev)
+        self.ui.note(_("converting revision %s\n") % hex(rev))
 
         oldenc = self.swap_out_encoding()