##// END OF EJS Templates
tests: unify test-config-case
tests: unify test-config-case

File last commit:

r7035:9d023ef7 default
r12082:5e2216a3 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