diff hgext/bookmarks.py @ 11434:86eea1f97eac stable

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'.
author David Soria Parra <dsp@php.net>
date Wed, 23 Jun 2010 11:53:59 +0200
parents cac256790aa4
children 5fe4302cfd72
line wrap: on
line diff
--- 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