From: Felipe Contreras Date: Mon, 12 Nov 2012 17:41:05 GMT Subject: [PATCH 1/4] remote-hg: add missing config for basic tests Message-ID: <1352742068-15346-2-git-send-email-felipe.contreras@gmail.com> In-Reply-To: <1352742068-15346-1-git-send-email-felipe.contreras@gmail.com> From: Ramkumar Ramachandra 'hg commit' fails otherwise in some versiosn of mercurial because of the missing user information. Other versions simply throw a warning and guess though. Signed-off-by: Ramkumar Ramachandra Signed-off-by: Felipe Contreras --- 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.8.0