[PATCH 1 of 4 stable] rebase: drop uppercase in abort message

Wagner Bruna wagner.bruna+mercurial at gmail.com
Fri Jan 20 10:01:18 CST 2012


# HG changeset patch
# User Wagner Bruna <wbruna at softwareexpress.com.br>
# Date 1327068285 7200
# Branch stable
# Node ID de187b8c9c8a163f4cbb4709761dde70398fd731
# Parent  c6464e943a9aa0fb27da0173c719d261d51f76b6
rebase: drop uppercase in abort message

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -210,7 +210,7 @@ def rebase(ui, repo, **opts):
                       " unrebased descendants"),
                     hint=_('use --keep to keep original changesets'))
             elif not keepf and not repo[root].mutable():
-                raise util.Abort(_("Can't rebase immutable changeset %s")
+                raise util.Abort(_("can't rebase immutable changeset %s")
                                  % repo[root],
                                  hint=_('see hg help phases for details'))
             else:
diff --git a/tests/test-rebase-scenario-global.t b/tests/test-rebase-scenario-global.t
--- a/tests/test-rebase-scenario-global.t
+++ b/tests/test-rebase-scenario-global.t
@@ -277,7 +277,7 @@ Check rebasing public changeset
 
   $ hg pull --config phases.publish=True -q -r 6 . # update phase of 6
   $ hg rebase -d 5 -b 6
-  abort: Can't rebase immutable changeset e1c4361dd923
+  abort: can't rebase immutable changeset e1c4361dd923
   (see hg help phases for details)
   [255]
 


More information about the Mercurial-devel mailing list