##// END OF EJS Templates
tests: unify test-confused-revert
tests: unify test-confused-revert

File last commit:

r7035:9d023ef7 default
r12284:f7eb1903 default
Show More
test-username-newline
22 lines | 264 B | text/plain | TextLexer
/ tests / test-username-newline
#!/bin/sh
#
hg init foo
cd foo
touch a
unset HGUSER
echo "[ui]" >> .hg/hgrc
echo "username= foo" >> .hg/hgrc
echo " bar1" >> .hg/hgrc
hg ci -Am m
rm .hg/hgrc
HGUSER=`(echo foo; echo bar2)` hg ci -Am m
hg ci -Am m -u "`(echo foo; echo bar3)`"
true