# HG changeset patch # User David M. Carr <david@carrclan.us> # Date 1347664218 14400 # Fri Sep 14 19:10:18 2012 -0400 # Node ID 878ae1d1bd73f5e079f6990b4a93e9a9f5405fb8 # Parent 336c031a0484f9881f2476f36a8ec3b943e35801 tests: remove use of git-daemon in test-subrepos This change was already applied to all the other tests. diff --git a/tests/test-subrepos.t b/tests/test-subrepos.t --- a/tests/test-subrepos.t +++ b/tests/test-subrepos.t @@ -63,21 +63,13 @@ $ cd .. $ echo - - $ git daemon --base-path="$(pwd)"\ - > --listen=localhost\ - > --export-all\ - > --pid-file="$DAEMON_PIDS" \ - > --detach --reuseaddr \ - > --enable=receive-pack - $ echo % Ensure gitlinks are transformed to .hgsubstate on hg pull from git % Ensure gitlinks are transformed to .hgsubstate on hg pull from git - $ hg clone git://localhost/gitrepo1 hgrepo + $ hg clone gitrepo1 hgrepo importing git objects into hg updating to branch default - cloning subrepo subrepo1 from git://localhost/gitsubrepo - cloning subrepo xyz/subrepo2 from git://localhost/gitsubrepo + cloning subrepo subrepo1 from $TESTTMP/gitsubrepo + cloning subrepo xyz/subrepo2 from $TESTTMP/gitsubrepo 4 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd hgrepo $ hg bookmarks -f -r default master @@ -111,7 +103,7 @@ $ cd hgrepo $ cd xyz/subrepo2 $ git pull | sed 's/files/file/;s/insertions/insertion/;s/, 0 deletions.*//' | sed 's/| */| /' - From git://localhost/gitsubrepo + From $TESTTMP/gitsubrepo 56f0304..aabf7cd master -> origin/master Updating 56f0304..aabf7cd Fast-forward @@ -122,7 +114,7 @@ $ echo xxx >> alpha $ hg commit -m 'Update subrepo2 from hg' | grep -v "committing subrepository" || true $ hg push - pushing to git://localhost/gitrepo1 + pushing to $TESTTMP/gitrepo1 exporting hg objects to git creating and sending data default::refs/heads/master => GIT:4663c492 @@ -155,7 +147,7 @@ $ gitcommit -m "Test3. Prepare .hgsub and .hgsubstate sources" $ cd ../hgrepo $ hg pull - pulling from git://localhost/gitrepo1 + pulling from $TESTTMP/gitrepo1 importing git objects into hg (run 'hg update' to get a working copy) $ hg checkout -C | sed "s_$(dirname $(pwd))_TEMPLOCATION_"