comparison tests/test-init @ 3098:fe9b13e35e46

Merge with crew
author Matt Mackall <mpm@selenic.com>
date Fri, 15 Sep 2006 15:22:45 -0500
parents 3acb76f0124d
children 8ae88ed2a3b6
comparison
equal deleted inserted replaced
3097:1b738357bba9 3098:fe9b13e35e46
25 echo "# creating 'local'" 25 echo "# creating 'local'"
26 hg init local 26 hg init local
27 echo this > local/foo 27 echo this > local/foo
28 hg ci --cwd local -A -m "init" -d "1000000 0" 28 hg ci --cwd local -A -m "init" -d "1000000 0"
29 29
30 echo "#test failure"
31 hg init local
32
30 echo "# init+push to remote2" 33 echo "# init+push to remote2"
31 hg init -e ./dummyssh ssh://user@dummy/remote2 34 hg init -e ./dummyssh ssh://user@dummy/remote2
32 hg incoming -R remote2 local 35 hg incoming -R remote2 local
33 hg push -R local -e ./dummyssh ssh://user@dummy/remote2 36 hg push -R local -e ./dummyssh ssh://user@dummy/remote2
34 37
35 echo "# clone to remote1" 38 echo "# clone to remote1"
39 hg clone -e ./dummyssh local ssh://user@dummy/remote1
40
41 echo "# init to existing repo"
42 hg init -e ./dummyssh ssh://user@dummy/remote1
43
44 echo "# clone to existing repo"
36 hg clone -e ./dummyssh local ssh://user@dummy/remote1 45 hg clone -e ./dummyssh local ssh://user@dummy/remote1
37 46
38 echo "# output of dummyssh" 47 echo "# output of dummyssh"
39 cat dummylog 48 cat dummylog
40 49