diff hggit/git_handler.py @ 489:ccd521a1f585

push: state when no changes are found
author David M. Carr <david@carrclan.us>
date Wed, 05 Sep 2012 23:27:31 -0400
parents 4793c3725abe
children ac644c0e16d4 bff92a208c3f
line wrap: on
line diff
--- a/hggit/git_handler.py	Wed Sep 05 23:27:31 2012 -0400
+++ b/hggit/git_handler.py	Wed Sep 05 23:27:31 2012 -0400
@@ -252,6 +252,7 @@
 
             self.update_remote_branches(remote_name, new_refs)
         if old_refs == new_refs:
+            self.ui.status(_("no changes found\n"))
             ret = None
         elif len(new_refs) > len(old_refs):
             ret = 1 + (len(new_refs) - len(old_refs))