Show More
@@ -66,6 +66,23 b' try to clone via stream, should use pull' | |||
|
66 | 66 | updating to branch default |
|
67 | 67 | 4 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
68 | 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 | |
|
78 | requesting all changes | |
|
79 | adding changesets | |
|
80 | adding manifests | |
|
81 | adding file changes | |
|
82 | added 1 changesets with 4 changes to 4 files | |
|
83 | updating to branch default | |
|
84 | 4 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
85 | ||
|
69 | 86 | clone via pull |
|
70 | 87 | |
|
71 | 88 | $ hg clone http://localhost:$HGPORT1/ copy-pull |
@@ -57,6 +57,23 b' try to clone via stream, should use pull' | |||
|
57 | 57 | updating to branch default |
|
58 | 58 | 4 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
59 | 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 | |
|
69 | requesting all changes | |
|
70 | adding changesets | |
|
71 | adding manifests | |
|
72 | adding file changes | |
|
73 | added 1 changesets with 4 changes to 4 files | |
|
74 | updating to branch default | |
|
75 | 4 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
76 | ||
|
60 | 77 | clone via pull |
|
61 | 78 | |
|
62 | 79 | $ hg clone http://localhost:$HGPORT1/ copy-pull |
General Comments 0
You need to be logged in to leave comments.
Login now