bookmarks: Use error message consistently stable
authorDavid Soria Parra <dsp@php.net>
Wed, 23 Jun 2010 11:53:59 +0200
branchstable
changeset 11434 86eea1f97eac
parent 11433 2186124f08e4
child 11435 7c58cde598fe
bookmarks: Use error message consistently The 'updating bookmark %s failed!' message is better than 'failed to update bookmark %s'. To have more consistent error messages we use just 'updating bookmarks %s failed'.
hgext/bookmarks.py
--- a/hgext/bookmarks.py	Tue Jun 22 15:45:13 2010 -0500
+++ b/hgext/bookmarks.py	Wed Jun 23 11:53:59 2010 +0200
@@ -327,8 +327,8 @@
                             if r:
                                 self.ui.status(_("updating bookmark %s\n") % k)
                             else:
-                                self.ui.warn(_("failed to update bookmark"
-                                                  " %s!\n") % k)
+                                self.ui.warn(_('updating bookmark %s'
+                                               ' failed!\n') % k)
 
             return result