tests/test-init
changeset 3037 3acb76f0124d
parent 2599 e4b5e48052c6
child 3713 8ae88ed2a3b6
equal deleted inserted replaced
3036:adf7f3421c55 3037:3acb76f0124d
    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