diff tests/test-committer @ 4044:78a0dd93db0b

Abort on empty username so specifying a username can be forced. This behaviour was introduced by c3345b0f2fcd and broken by 98f2507c5551. Added test for this.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 24 Jan 2007 23:04:51 +0100
parents 5191e2299d63
children c5b3d3e30de7
line wrap: on
line diff
--- a/tests/test-committer	Sun Jan 14 19:10:35 2007 +0100
+++ b/tests/test-committer	Wed Jan 24 23:04:51 2007 +0100
@@ -24,5 +24,8 @@
 hg commit -d '1000000 0' -u "foo@bar.com" -m commit-1
 hg tip
 echo 123 > asdf
+echo "[ui]" > .hg/hgrc
+echo "username = " >> .hg/hgrc
+hg commit -d '1000000 0' -m commit-1
 rm .hg/hgrc
 hg commit -d '1000000 0' -m commit-1 2>&1 | sed -e "s/'[^']*'/user@host/"