[PATCH] bookmarks: Use error message consistently
David Soria Parra
dsp at php.net
Wed Jun 23 04:55:19 CDT 2010
# HG changeset patch
# User David Soria Parra <dsp at php.net>
# Date 1277286839 -7200
# Branch stable
# Node ID 86eea1f97eac0dfa6874c5066cf4d8454f5d3c8f
# Parent 2186124f08e4789b4eb45617e7efee19ff790b34
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'.
diff --git a/hgext/bookmarks.py b/hgext/bookmarks.py
--- a/hgext/bookmarks.py
+++ b/hgext/bookmarks.py
@@ -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
More information about the Mercurial-devel
mailing list