Mercurial > hg
changeset 28537:881d027d3935
chgserver: do not keep repo object
The current chgserver design is to use one server to handle multiple repos
which has same [extensions] config. Previously the client uses --cwd / to
avoid creating a repo object. Now we need to set repo to None before we
have code to make "serve" command norepo when it's chg.
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 16 Mar 2016 11:57:09 +0000 |
parents | a979f5b03320 |
children | 009f58f1ea75 |
files | hgext/chgserver.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/chgserver.py Sat Mar 12 04:24:11 2016 +0000 +++ b/hgext/chgserver.py Wed Mar 16 11:57:09 2016 +0000 @@ -638,6 +638,7 @@ class chgunixservice(commandserver.unixservice): def init(self): + self.repo = None self._inithashstate() self._checkextensions() class cls(AutoExitMixIn, SocketServer.ForkingMixIn,