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