summaryrefslogtreecommitdiffstats
path: root/contrib/remote-helpers/test-hg.sh
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2013-05-25 04:29:22 +0200
committerJunio C Hamano <gitster@pobox.com>2013-05-28 16:59:19 +0200
commit5f5e92fb7954c0bd258563541fed394bc5f88544 (patch)
tree6b567d23cb3a669b19920b1236fba7f31807a723 /contrib/remote-helpers/test-hg.sh
parentremote-helpers: tests: general improvements (diff)
downloadgit-5f5e92fb7954c0bd258563541fed394bc5f88544.tar.xz
git-5f5e92fb7954c0bd258563541fed394bc5f88544.zip
remote-helpers: test: simplify remote URLs
No need to specify $PWD any more. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rwxr-xr-xcontrib/remote-helpers/test-hg.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/remote-helpers/test-hg.sh b/contrib/remote-helpers/test-hg.sh
index f986db0ff0..c54adb6fee 100755
--- a/contrib/remote-helpers/test-hg.sh
+++ b/contrib/remote-helpers/test-hg.sh
@@ -53,7 +53,7 @@ test_expect_success 'cloning' '
hg commit -m zero
) &&
- git clone "hg::$PWD/hgrepo" gitrepo &&
+ git clone "hg::hgrepo" gitrepo &&
check gitrepo zero master
'
@@ -67,12 +67,12 @@ test_expect_success 'cloning with branches' '
hg commit -m next
) &&
- git clone "hg::$PWD/hgrepo" gitrepo &&
+ git clone "hg::hgrepo" gitrepo &&
check gitrepo next next &&
(cd hgrepo && hg checkout default) &&
- git clone "hg::$PWD/hgrepo" gitrepo2 &&
+ git clone "hg::hgrepo" gitrepo2 &&
check gitrepo2 zero master
'
@@ -86,7 +86,7 @@ test_expect_success 'cloning with bookmarks' '
hg commit -m feature-a
) &&
- git clone "hg::$PWD/hgrepo" gitrepo &&
+ git clone "hg::hgrepo" gitrepo &&
check gitrepo feature-a feature-a
'
@@ -98,7 +98,7 @@ test_expect_success 'cloning with detached head' '
hg update -r 0
) &&
- git clone "hg::$PWD/hgrepo" gitrepo &&
+ git clone "hg::hgrepo" gitrepo &&
check gitrepo zero master
'
@@ -111,7 +111,7 @@ test_expect_success 'update bookmark' '
) &&
(
- git clone "hg::$PWD/hgrepo" gitrepo &&
+ git clone "hg::hgrepo" gitrepo &&
cd gitrepo &&
git checkout --quiet devel &&
echo devel > content &&
@@ -155,7 +155,7 @@ test_expect_success 'authors' '
author_test kappa "test@example.com" "Unknown <test@example.com>"
) &&
- git clone "hg::$PWD/hgrepo" gitrepo &&
+ git clone "hg::hgrepo" gitrepo &&
git --git-dir=gitrepo/.git log --reverse --format="%an <%ae>" > actual &&
test_cmp expected actual