diff hgext/purge.py @ 21750:4ab287c2d337 stable

revlog: hold a private reference to self._cache This keeps other threads from modifying self._cache out from under us. With this and the previous fix, 'hg serve' survives 100k hits with siege.
author Matt Mackall <mpm@selenic.com>
date Fri, 13 Jun 2014 14:17:14 -0500
parents f1c3ba167b0c
children 8127b9e798b1
line wrap: on
line diff