tests/test-username-newline
author Wagner Bruna <wbruna@softwareexpress.com.br>
Mon, 18 Jan 2010 15:37:45 -0200
branchstable
changeset 10258 d58d7441b211
parent 7035 9d023ef7b467
permissions -rwxr-xr-x
i18n-pt_BR: synchronized with 279c8a73fde1

#!/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