Show More
@@ -128,7 +128,7 class statichttprepository(localrepo.loc | |||
|
128 | 128 | self._branchcachetip = None |
|
129 | 129 | self.encodepats = None |
|
130 | 130 | self.decodepats = None |
|
131 |
self.capabilities. |
|
|
131 | self.capabilities = self.capabilities.difference(["pushkey"]) | |
|
132 | 132 | |
|
133 | 133 | def url(self): |
|
134 | 134 | return self._url |
@@ -102,27 +102,36 trying clone -r | |||
|
102 | 102 | updating to branch default |
|
103 | 103 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
104 | 104 | |
|
105 | test with "/" URI (issue 747) | |
|
105 | test with "/" URI (issue 747) and subrepo | |
|
106 | 106 | |
|
107 | 107 |
$ |
|
108 | $ hg init sub | |
|
109 | $ hg -R sub tag not-empty | |
|
110 | $ echo sub=sub > .hgsub | |
|
108 | 111 | $ echo a > a |
|
109 | $ hg add a | |
|
110 | $ hg ci -ma | |
|
112 | $ hg add a .hgsub | |
|
113 | $ hg -q ci -ma | |
|
111 | 114 | $ hg clone static-http://localhost:$HGPORT/ local2 |
|
112 | 115 | requesting all changes |
|
113 | 116 | adding changesets |
|
114 | 117 | adding manifests |
|
115 | 118 | adding file changes |
|
116 |
added 1 changesets with |
|
|
119 | added 1 changesets with 3 changes to 3 files | |
|
117 | 120 | updating to branch default |
|
118 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
121 | pulling subrepo sub from static-http://localhost:$HGPORT/sub | |
|
122 | requesting all changes | |
|
123 | adding changesets | |
|
124 | adding manifests | |
|
125 | adding file changes | |
|
126 | added 1 changesets with 1 changes to 1 files | |
|
127 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
119 | 128 | $ cd local2 |
|
120 | 129 | $ hg verify |
|
121 | 130 | checking changesets |
|
122 | 131 | checking manifests |
|
123 | 132 | crosschecking files in changesets and manifests |
|
124 | 133 | checking files |
|
125 |
|
|
|
134 | 3 files, 1 changesets, 3 total revisions | |
|
126 | 135 | $ cat a |
|
127 | 136 | a |
|
128 | 137 | $ hg paths |
General Comments 0
You need to be logged in to leave comments.
Login now