Mercurial > hg
comparison tests/test-http.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 | 9a782e7e651e |
children | 076f1ff43f0f |
comparison
equal
deleted
inserted
replaced
32257:205bd3936179 | 32258:9c60d93fd3ab |
---|---|
47 4 files, 1 changesets, 4 total revisions | 47 4 files, 1 changesets, 4 total revisions |
48 | 48 |
49 try to clone via stream, should use pull instead | 49 try to clone via stream, should use pull instead |
50 | 50 |
51 $ hg clone --uncompressed http://localhost:$HGPORT1/ copy2 | 51 $ hg clone --uncompressed http://localhost:$HGPORT1/ copy2 |
52 requesting all changes | |
53 adding changesets | |
54 adding manifests | |
55 adding file changes | |
56 added 1 changesets with 4 changes to 4 files | |
57 updating to branch default | |
58 4 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
59 | |
60 try to clone via stream but missing requirements, so should use pull instead | |
61 | |
62 $ cat > $TESTTMP/removesupportedformat.py << EOF | |
63 > from mercurial import localrepo | |
64 > def extsetup(ui): | |
65 > localrepo.localrepository.supportedformats.remove('generaldelta') | |
66 > EOF | |
67 | |
68 $ hg clone --config extensions.rsf=$TESTTMP/removesupportedformat.py --uncompressed http://localhost:$HGPORT/ copy3 | |
52 requesting all changes | 69 requesting all changes |
53 adding changesets | 70 adding changesets |
54 adding manifests | 71 adding manifests |
55 adding file changes | 72 adding file changes |
56 added 1 changesets with 4 changes to 4 files | 73 added 1 changesets with 4 changes to 4 files |