Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/doc-maintainer'
[gitweb.git]
/
contrib
/
remote-helpers
/
test-hg.sh
diff --git
a/contrib/remote-helpers/test-hg.sh
b/contrib/remote-helpers/test-hg.sh
index 40e6e3c0630f761eb96ed194ccb2dc7648097c7f..5f81dfae6c4a31f11ed766dd467fdd4a542afdf3 100755
(executable)
--- 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 = H G Wells <wells@example.com>"
+ ) >> "$HOME"/.hgrc
+}
+
+setup
+
test_expect_success 'cloning' '
test_when_finished "rm -rf gitrepo*" &&