##// END OF EJS Templates
statichttprepo: do not try to write caches...
Pierre-Yves David -
r29738:c1696430 default
parent child Browse files
Show More
@@ -181,6 +181,9 b' class statichttprepository(localrepo.loc'
181 def lock(self, wait=True):
181 def lock(self, wait=True):
182 raise error.Abort(_('cannot lock static-http repository'))
182 raise error.Abort(_('cannot lock static-http repository'))
183
183
184 def _writecaches(self):
185 pass # statichttprepository are read only
186
184 def instance(ui, path, create):
187 def instance(ui, path, create):
185 if create:
188 if create:
186 raise error.Abort(_('cannot create new static-http repository'))
189 raise error.Abort(_('cannot create new static-http repository'))
General Comments 0
You need to be logged in to leave comments. Login now