tests/test-username-newline
author Nicolas Dumazet <nicdumz.commits@gmail.com>
Mon, 04 May 2009 18:23:05 +0900
changeset 8334 0695288e8c37
parent 7035 9d023ef7b467
permissions -rwxr-xr-x
inotify: inotify.server.walk() filetype is never used, do not yield it

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