tests/test-record.t
changeset 17446 3de04c07966a
parent 16913 f2719b387380
child 18266 09a2b6741695
--- a/tests/test-record.t	Wed Sep 05 14:08:31 2012 +0200
+++ b/tests/test-record.t	Mon Aug 27 12:41:10 2012 -0700
@@ -246,10 +246,19 @@
   +9
   +10
   
+Modify end of plain file with username unset
+
+  $ echo 11 >> plain
+  $ unset HGUSER
+  $ hg record --config ui.username= -d '8 0' -m end plain
+  abort: no username supplied (see "hg help config")
+  [255]
+
 
 Modify end of plain file
 
-  $ echo 11 >> plain
+  $ HGUSER="test"
+  $ export HGUSER
   $ hg record -d '8 0' -m end plain <<EOF
   > y
   > y