# HG changeset patch # User timeless # Date 1290337626 21600 # Node ID 3e2281b85990c6737f4f6c3bf996c557d3bf666c # Parent 3fd4e4e8138226a0bc66dad00f2dc3324e9b209c record: quote command in use hg commit message diff -r 3fd4e4e81382 -r 3e2281b85990 hgext/record.py --- 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) diff -r 3fd4e4e81382 -r 3e2281b85990 tests/test-record.t --- 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