Mercurial > hg > mercurial-source
diff tests/test-hgweb-filelog.t @ 22950:bb8278b289ee
obsolete: add readonly flag to obstore constructor
Previously, obstore read the obsolete._enabled flag to determine whether to
allow writes to the obstore. Since obsolete._enabled will be moving into a repo
specific config, we can't read it globally, and therefore must pass the
information into the constructor.
author | Durham Goode <durham@fb.com> |
---|---|
date | Tue, 14 Oct 2014 13:20:31 -0700 |
parents | 7a9cbb315d84 |
children | 8b79fdaa9f85 |