# HG changeset patch # User Pierre-Yves David # Date 2016-08-05 13:48:09 # Node ID c1696430254f9498427fdf88dfa46d4f58c23cbd # Parent ae9a4d6a8d5132a3b00e4bfee67d33bfb0b09368 statichttprepo: do not try to write caches The static http repository are read only, there is no hope in any cache writing attempt. diff --git a/mercurial/statichttprepo.py b/mercurial/statichttprepo.py --- a/mercurial/statichttprepo.py +++ b/mercurial/statichttprepo.py @@ -181,6 +181,9 @@ class statichttprepository(localrepo.loc def lock(self, wait=True): raise error.Abort(_('cannot lock static-http repository')) + def _writecaches(self): + pass # statichttprepository are read only + def instance(ui, path, create): if create: raise error.Abort(_('cannot create new static-http repository'))