diff tests/test-copy.t @ 39348:cde75233c415

rename: quote hg commands in warnings I think we usally use single quotes around hg commands in messages. Differential Revision: https://phab.mercurial-scm.org/D4417
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 29 Aug 2018 09:50:39 -0700
parents cbc4425e81b5
children 5b92a717bfc1
line wrap: on
line diff
--- a/tests/test-copy.t	Tue Aug 21 21:05:01 2018 +0800
+++ b/tests/test-copy.t	Wed Aug 29 09:50:39 2018 -0700
@@ -224,12 +224,12 @@
 Trying to copy on top of an existing file fails,
   $ hg copy -A bar foo
   foo: not overwriting - file already committed
-  (hg copy --after --force to replace the file by recording a copy)
+  ('hg copy --after --force' to replace the file by recording a copy)
 same error without the --after, so the user doesn't have to go through
 two hints:
   $ hg copy bar foo
   foo: not overwriting - file already committed
-  (hg copy --force to replace the file by recording a copy)
+  ('hg copy --force' to replace the file by recording a copy)
 but it's considered modified after a copy --after --force
   $ hg copy -Af bar foo
   $ hg st -AC foo
@@ -240,6 +240,6 @@
   $ touch xyzzy
   $ hg cp bar xyzzy
   xyzzy: not overwriting - file exists
-  (hg copy --after to record the copy)
+  ('hg copy --after' to record the copy)
 
   $ cd ..