changeset 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 2186124f08e4
children 7c58cde598fe
files hgext/bookmarks.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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