Mercurial > hg
comparison tests/test-http-bundle1.t @ 32258:9c60d93fd3ab
clone: test streaming disabled because client is missing requirement
Turns out we had no coverage for this important case.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Mon, 08 May 2017 18:47:24 -0700 |
parents | aff7b32b3c05 |
children | 076f1ff43f0f |
comparison
equal
deleted
inserted
replaced
32257:205bd3936179 | 32258:9c60d93fd3ab |
---|---|
56 4 files, 1 changesets, 4 total revisions | 56 4 files, 1 changesets, 4 total revisions |
57 | 57 |
58 try to clone via stream, should use pull instead | 58 try to clone via stream, should use pull instead |
59 | 59 |
60 $ hg clone --uncompressed http://localhost:$HGPORT1/ copy2 | 60 $ hg clone --uncompressed http://localhost:$HGPORT1/ copy2 |
61 requesting all changes | |
62 adding changesets | |
63 adding manifests | |
64 adding file changes | |
65 added 1 changesets with 4 changes to 4 files | |
66 updating to branch default | |
67 4 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
68 | |
69 try to clone via stream but missing requirements, so should use pull instead | |
70 | |
71 $ cat > $TESTTMP/removesupportedformat.py << EOF | |
72 > from mercurial import localrepo | |
73 > def extsetup(ui): | |
74 > localrepo.localrepository.supportedformats.remove('generaldelta') | |
75 > EOF | |
76 | |
77 $ hg clone --config extensions.rsf=$TESTTMP/removesupportedformat.py --uncompressed http://localhost:$HGPORT/ copy3 | |
61 requesting all changes | 78 requesting all changes |
62 adding changesets | 79 adding changesets |
63 adding manifests | 80 adding manifests |
64 adding file changes | 81 adding file changes |
65 added 1 changesets with 4 changes to 4 files | 82 added 1 changesets with 4 changes to 4 files |