Show More
@@ -182,6 +182,10 b' class statichttprepository(localrepo.loc' | |||||
182 | def peer(self): |
|
182 | def peer(self): | |
183 | return statichttppeer(self) |
|
183 | return statichttppeer(self) | |
184 |
|
184 | |||
|
185 | def wlock(self, wait=True): | |||
|
186 | raise error.LockUnavailable(0, _('lock not available'), 'lock', | |||
|
187 | _('cannot lock static-http repository')) | |||
|
188 | ||||
185 | def lock(self, wait=True): |
|
189 | def lock(self, wait=True): | |
186 | raise error.Abort(_('cannot lock static-http repository')) |
|
190 | raise error.Abort(_('cannot lock static-http repository')) | |
187 |
|
191 |
@@ -187,12 +187,22 b' Clone with tags and branches works' | |||||
187 |
|
187 | |||
188 | Clone a specific branch works |
|
188 | Clone a specific branch works | |
189 |
|
189 | |||
190 |
$ hg clone -r mybranch static-http://localhost:$HGPORT/remote-with-names local-with-names-branch |
|
190 | $ hg clone -r mybranch static-http://localhost:$HGPORT/remote-with-names local-with-names-branch | |
191 | [1] |
|
191 | adding changesets | |
|
192 | adding manifests | |||
|
193 | adding file changes | |||
|
194 | added 4 changesets with 4 changes to 2 files | |||
|
195 | updating to branch mybranch | |||
|
196 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
192 |
|
197 | |||
193 | Clone a specific tag works |
|
198 | Clone a specific tag works | |
194 |
|
199 | |||
195 |
$ hg clone -r default-tag static-http://localhost:$HGPORT/remote-with-names local-with-names-tag |
|
200 | $ hg clone -r default-tag static-http://localhost:$HGPORT/remote-with-names local-with-names-tag | |
196 | [1] |
|
201 | adding changesets | |
|
202 | adding manifests | |||
|
203 | adding file changes | |||
|
204 | added 2 changesets with 2 changes to 1 files | |||
|
205 | updating to branch default | |||
|
206 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
197 |
|
207 | |||
198 |
$ |
|
208 | $ killdaemons.py |
General Comments 0
You need to be logged in to leave comments.
Login now