Show More
@@ -70,7 +70,7 b' class sshrepository(remoterepository):' | |||||
70 | lines.append(l) |
|
70 | lines.append(l) | |
71 | max_noise -= 1 |
|
71 | max_noise -= 1 | |
72 | else: |
|
72 | else: | |
73 | raise hg.RepoError(_("no response from remote hg")) |
|
73 | raise hg.RepoError(_("no suitable response from remote hg")) | |
74 |
|
74 | |||
75 | self.capabilities = () |
|
75 | self.capabilities = () | |
76 | lines.reverse() |
|
76 | lines.reverse() |
@@ -36,6 +36,9 b" echo 'changegroup = echo changegroup in " | |||||
36 |
|
36 | |||
37 | cd .. |
|
37 | cd .. | |
38 |
|
38 | |||
|
39 | echo "# repo not found error" | |||
|
40 | hg clone -e ./dummyssh ssh://user@dummy/nonexistent local | |||
|
41 | ||||
39 | echo "# clone remote via stream" |
|
42 | echo "# clone remote via stream" | |
40 | hg clone -e ./dummyssh --uncompressed ssh://user@dummy/remote local-stream 2>&1 | \ |
|
43 | hg clone -e ./dummyssh --uncompressed ssh://user@dummy/remote local-stream 2>&1 | \ | |
41 | sed -e 's/[0-9][0-9.]*/XXX/g' -e 's/[KM]\(B\/sec\)/X\1/' |
|
44 | sed -e 's/[0-9][0-9.]*/XXX/g' -e 's/[KM]\(B\/sec\)/X\1/' |
@@ -1,4 +1,7 b'' | |||||
1 | # creating 'remote' |
|
1 | # creating 'remote' | |
|
2 | # repo not found error | |||
|
3 | abort: no suitable response from remote hg! | |||
|
4 | remote: abort: repository nonexistent not found! | |||
2 | # clone remote via stream |
|
5 | # clone remote via stream | |
3 | streaming all changes |
|
6 | streaming all changes | |
4 | XXX files to transfer, XXX bytes of data |
|
7 | XXX files to transfer, XXX bytes of data | |
@@ -77,6 +80,7 b' remote: adding changesets' | |||||
77 | remote: adding manifests |
|
80 | remote: adding manifests | |
78 | remote: adding file changes |
|
81 | remote: adding file changes | |
79 | remote: added 1 changesets with 1 changes to 1 files |
|
82 | remote: added 1 changesets with 1 changes to 1 files | |
|
83 | Got arguments 1:user@dummy 2:hg -R nonexistent serve --stdio 3: 4: 5: | |||
80 | Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5: |
|
84 | Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5: | |
81 | Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5: |
|
85 | Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5: | |
82 | Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5: |
|
86 | Got arguments 1:user@dummy 2:hg -R remote serve --stdio 3: 4: 5: |
General Comments 0
You need to be logged in to leave comments.
Login now