From: Ramkumar Ramachandra Date: Sun, 11 Nov 2012 10:41:32 GMT Subject: [PATCH] contrib/remote-helpers: setup ui.username in test-hg.sh Message-ID: test-hg.sh forgets to set ui.username, which is required for `hg commit`. Fix this. Signed-off-by: Ramkumar Ramachandra --- Squash this into fc/remote-hg in pu? contrib/remote-helpers/test-hg.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/contrib/remote-helpers/test-hg.sh b/contrib/remote-helpers/test-hg.sh index 40e6e3c..031dcbd 100755 --- a/contrib/remote-helpers/test-hg.sh +++ b/contrib/remote-helpers/test-hg.sh @@ -29,6 +29,15 @@ check () { test_cmp expected actual } +setup () { + ( + echo "[ui]" + echo "username = A U Thor " + ) >> "$HOME"/.hgrc +} + +setup + test_expect_success 'cloning' ' test_when_finished "rm -rf gitrepo*" && -- 1.7.12.1.428.g652398a.dirty