Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-pull.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 | 385b06493465 |
children | 3053fc33f545 |
rev | line source |
---|---|
767
61ed30e82b27
Update tests to match new addremove chattiness.
Bryan O'Sullivan <bos@serpentine.com>
parents:
642
diff
changeset
|
1 adding foo |
336 | 2 checking changesets |
3 checking manifests | |
4 crosschecking files in changesets and manifests | |
5 checking files | |
6 1 files, 1 changesets, 1 total revisions | |
7 requesting all changes | |
8 adding changesets | |
9 adding manifests | |
775 | 10 adding file changes |
11 added 1 changesets with 1 changes to 1 files | |
336 | 12 checking changesets |
13 checking manifests | |
14 crosschecking files in changesets and manifests | |
15 checking files | |
16 1 files, 1 changesets, 1 total revisions | |
17 foo | |
18 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 foo | |
522
2f1de824798a
Fix empty pull bug that appeared this morning
mpm@selenic.com
parents:
350
diff
changeset
|
19 pulling from http://localhost:20059/ |
2f1de824798a
Fix empty pull bug that appeared this morning
mpm@selenic.com
parents:
350
diff
changeset
|
20 searching for changes |
2f1de824798a
Fix empty pull bug that appeared this morning
mpm@selenic.com
parents:
350
diff
changeset
|
21 no changes found |