Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
4043:31047b6f7ec1 | 4044:78a0dd93db0b |
---|---|
22 hg tip | 22 hg tip |
23 echo 1 > asdf | 23 echo 1 > asdf |
24 hg commit -d '1000000 0' -u "foo@bar.com" -m commit-1 | 24 hg commit -d '1000000 0' -u "foo@bar.com" -m commit-1 |
25 hg tip | 25 hg tip |
26 echo 123 > asdf | 26 echo 123 > asdf |
27 echo "[ui]" > .hg/hgrc | |
28 echo "username = " >> .hg/hgrc | |
29 hg commit -d '1000000 0' -m commit-1 | |
27 rm .hg/hgrc | 30 rm .hg/hgrc |
28 hg commit -d '1000000 0' -m commit-1 2>&1 | sed -e "s/'[^']*'/user@host/" | 31 hg commit -d '1000000 0' -m commit-1 2>&1 | sed -e "s/'[^']*'/user@host/" |