##// END OF EJS Templates
statichttprepo: implement wlock() (issue5613)...
Gregory Szorc -
r33605:8b00c723 stable
parent child Browse files
Show More
@@ -182,6 +182,10 class statichttprepository(localrepo.loc
182 182 def peer(self):
183 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 189 def lock(self, wait=True):
186 190 raise error.Abort(_('cannot lock static-http repository'))
187 191
@@ -187,12 +187,22 Clone with tags and branches works
187 187
188 188 Clone a specific branch works
189 189
190 $ hg clone -r mybranch static-http://localhost:$HGPORT/remote-with-names local-with-names-branch 2> /dev/null
191 [1]
190 $ hg clone -r mybranch static-http://localhost:$HGPORT/remote-with-names local-with-names-branch
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 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 2> /dev/null
196 [1]
200 $ hg clone -r default-tag static-http://localhost:$HGPORT/remote-with-names local-with-names-tag
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