Mercurial > hg
changeset 14187:9bbaafddfa90
tests: test subrepos with ssh urls
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 05 May 2011 01:57:13 +0200 |
parents | 8513bd2e7259 |
children | 9029b1a38c30 |
files | tests/test-subrepo-relative-path.t |
diffstat | 1 files changed, 34 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-subrepo-relative-path.t Thu May 05 01:47:46 2011 +0200 +++ b/tests/test-subrepo-relative-path.t Thu May 05 01:57:13 2011 +0200 @@ -67,3 +67,37 @@ revision 863c1745b441bd97a8c4a096e87793073f4fb215 $ "$TESTDIR/killdaemons.py" + +subrepo paths with ssh urls + + $ cp $TESTDIR/dummyssh $BINDIR/ssh + + $ hg clone ssh://user@dummy/cloned sshclone + requesting all changes + adding changesets + adding manifests + adding file changes + added 1 changesets with 3 changes to 3 files + updating to branch default + pulling subrepo sub from ssh://user@dummy/sub + requesting all changes + adding changesets + adding manifests + adding file changes + added 1 changesets with 1 changes to 1 files + 3 files updated, 0 files merged, 0 files removed, 0 files unresolved + + $ hg -R sshclone push ssh://user@dummy/$TESTTMP/cloned + pushing to ssh://user@dummy/$TESTTMP/cloned + pushing subrepo sub to ssh://user@dummy/$TESTTMP/sub + searching for changes + no changes found + searching for changes + no changes found + + $ cat dummylog + Got arguments 1:user@dummy 2:hg -R cloned serve --stdio + Got arguments 1:user@dummy 2:hg -R sub serve --stdio + Got arguments 1:user@dummy 2:hg -R $TESTTMP/cloned serve --stdio + Got arguments 1:user@dummy 2:hg -R $TESTTMP/sub serve --stdio + $ rm $BINDIR/ssh