diff hggit/git_handler.py @ 560:9c71a6f00863

push: suppress "exporting hg objects to git" message When communicating with the user on push/outgoing, Mercurial doesn't show a "exporting hg objects to git" message, so we shouldn't. The message has been changed to be shown if --verbose is specified.
author David M. Carr <david@carrclan.us>
date Thu, 25 Oct 2012 21:47:44 -0400
parents d4ccec82b816
children 9f919924bf81
line wrap: on
line diff
--- a/hggit/git_handler.py	Thu Oct 25 21:47:36 2012 -0400
+++ b/hggit/git_handler.py	Thu Oct 25 21:47:44 2012 -0400
@@ -337,7 +337,7 @@
         export = [node for node in nodes if not hex(node) in self._map_hg]
         total = len(export)
         if total:
-            self.ui.status(_("exporting hg objects to git\n"))
+            self.ui.note(_("exporting hg objects to git\n"))
         for i, rev in enumerate(export):
             util.progress(self.ui, 'exporting', i, total=total)
             ctx = self.repo.changectx(rev)