##// END OF EJS Templates
renamedbetween: only return (file, node) pairs that exist in the original rev
renamedbetween: only return (file, node) pairs that exist in the original rev

File last commit:

r3466:8b55c0ba default
r3694:c0b1a0c7 default
Show More
test-committer
26 lines | 497 B | text/plain | TextLexer
Andrew Thompson
Add tests/test-committer...
r2104 #!/bin/sh
unset HGUSER
EMAIL="My Name <myname@example.com>"
export EMAIL
hg init test
cd test
touch asdf
hg add asdf
hg commit -d '1000000 0' -m commit-1
hg tip
Benoit Boissinot
makes username mandatory
r3466
unset EMAIL
echo 1 > asdf
hg commit -d '1000000 0' -m commit-1
hg commit -d '1000000 0' -u "foo@bar.com" -m commit-1
hg tip
echo "[ui]" >> .hg/hgrc
echo "username = foobar <foo@bar.com>" >> .hg/hgrc
echo 12 > asdf
hg commit -d '1000000 0' -m commit-1
hg tip
echo 1 > asdf
hg commit -d '1000000 0' -u "foo@bar.com" -m commit-1
hg tip