tests: fix up config --edit breakage
authorMatt Mackall <mpm@selenic.com>
Thu, 27 Feb 2014 14:58:44 -0600
changeset 20579 625533523c9e
parent 20578 e0e223b0a506
child 20580 b75a23eec9c9
child 20581 7a72c28fdc76
tests: fix up config --edit breakage
tests/test-committer.t
tests/test-record.t
--- a/tests/test-committer.t	Thu Feb 27 14:48:36 2014 -0600
+++ b/tests/test-committer.t	Thu Feb 27 14:58:44 2014 -0600
@@ -49,7 +49,8 @@
   $ echo "[ui]" > .hg/hgrc
   $ echo "username = " >> .hg/hgrc
   $ hg commit -m commit-1
-  abort: no username supplied (see "hg help config")
+  abort: no username supplied
+  (use "hg config --edit"  to set your username)
   [255]
   $ rm .hg/hgrc
   $ hg commit -m commit-1 2>&1
--- a/tests/test-record.t	Thu Feb 27 14:48:36 2014 -0600
+++ b/tests/test-record.t	Thu Feb 27 14:58:44 2014 -0600
@@ -251,7 +251,8 @@
   $ echo 11 >> plain
   $ unset HGUSER
   $ hg record --config ui.username= -d '8 0' -m end plain
-  abort: no username supplied (see "hg help config")
+  abort: no username supplied
+  (use "hg config --edit"  to set your username)
   [255]