record: quote command in use hg commit message
authortimeless <timeless@gmail.com>
Sun, 21 Nov 2010 05:07:06 -0600
changeset 13023 3e2281b85990
parent 13022 3fd4e4e81382
child 13024 da69a1597285
record: quote command in use hg commit message
hgext/record.py
tests/test-record.t
--- a/hgext/record.py	Sat Nov 20 20:41:48 2010 +0200
+++ b/hgext/record.py	Sun Nov 21 05:07:06 2010 -0600
@@ -429,7 +429,7 @@
         merge = len(repo[None].parents()) > 1
         if merge:
             raise util.Abort(_('cannot partially commit a merge '
-                               '(use hg commit instead)'))
+                               '(use "hg commit" instead)'))
 
         changes = repo.status(match=match)[:3]
         diffopts = mdiff.diffopts(git=True, nodates=True)
--- a/tests/test-record.t	Sat Nov 20 20:41:48 2010 +0200
+++ b/tests/test-record.t	Sun Nov 21 05:07:06 2010 -0600
@@ -883,7 +883,7 @@
   (branch merge, don't forget to commit)
 
   $ hg record -m'will abort'
-  abort: cannot partially commit a merge (use hg commit instead)
+  abort: cannot partially commit a merge (use "hg commit" instead)
   [255]
 
   $ hg up -C