##// END OF EJS Templates
statichttprepo: use LockUnavailable() instead of Abort() for lock (API)...
Pulkit Goyal -
r46004:5523e3e1 default
parent child Browse files
Show More
@@ -238,7 +238,12 b' class statichttprepository('
238 )
238 )
239
239
240 def lock(self, wait=True):
240 def lock(self, wait=True):
241 raise error.Abort(_(b'cannot lock static-http repository'))
241 raise error.LockUnavailable(
242 0,
243 _(b'lock not available'),
244 b'lock',
245 _(b'cannot lock static-http repository'),
246 )
242
247
243 def _writecaches(self):
248 def _writecaches(self):
244 pass # statichttprepository are read only
249 pass # statichttprepository are read only
General Comments 0
You need to be logged in to leave comments. Login now