Mercurial > evolve
view hgext3rd/__init__.py @ 3647:626c5fa0ef07
safeguard: use self instead of repo in noautopublishrepo.checkpush()
Referring to repo here was somehow preventing it from being garbage-collected
(important in hgweb, where currently every request gets a new repo).
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 06 Apr 2018 14:37:22 +0800 |
parents | 143c8e4dc22d |
children |
line wrap: on
line source
# name space package to host third party extensions from __future__ import absolute_import import pkgutil __path__ = pkgutil.extend_path(__path__, __name__)