Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-static-http.out @ 1981:736b6c96bbbc
make incoming work via ssh (issue139); move chunk code into separate module.
Incoming ssh needs to detect the end of the changegroup, otherwise it would
block trying to read from the ssh pipe. This is done by parsing the
changegroup chunks.
bundlerepo.getchunk() already is identical to
localrepo.addchangegroup.getchunk(), which is followed by getgroup which
looks much like what you can re-use in bundlerepository.__init__() and in
write_bundle(). bundlerevlog.__init__.genchunk() looks very similar, too,
as do some while loops in localrepo.py.
Applied patch from Benoit Boissinot to move duplicate/related code
to mercurial/changegroup.py and use this to fix incoming ssh.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 21 Mar 2006 11:47:21 +0100 |
parents | 2a676ad52c22 |
children | 3053fc33f545 |
rev | line source |
---|---|
1935
d32c442571f2
Removed obsolete workaround for error message in tests/test-static-http.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1933
diff
changeset
|
1 abort: Connection refused |
1323
60200b3fc839
Fix old-http test when no server exists.
Bryan O'Sullivan <bos@serpentine.com>
parents:
1111
diff
changeset
|
2 255 |
1962
2a676ad52c22
tests: more portability fix for the old systems
TK Soh <teekaysoh@yahoo.com>
parents:
1935
diff
changeset
|
3 copy: No such file or directory |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1929
diff
changeset
|
4 changeset: 0:53e17d176ae6 |
1111 | 5 tag: tip |
6 user: test | |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1929
diff
changeset
|
7 date: Mon Jan 12 13:46:40 1970 +0000 |
1111 | 8 summary: test |
9 | |
10 requesting all changes | |
11 adding changesets | |
12 adding manifests | |
13 adding file changes | |
14 added 1 changesets with 1 changes to 1 files | |
15 checking changesets | |
16 checking manifests | |
17 crosschecking files in changesets and manifests | |
18 checking files | |
19 1 files, 1 changesets, 1 total revisions | |
20 foo | |
21 pulling from old-http://localhost:20059/remote | |
22 searching for changes | |
23 no changes found |