changeset 13023:3e2281b85990

record: quote command in use hg commit message
author timeless <timeless@gmail.com>
date Sun, 21 Nov 2010 05:07:06 -0600
parents 3fd4e4e81382
children da69a1597285
files hgext/record.py tests/test-record.t
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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