mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
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.
This commit is contained in:
parent
6193936a7f
commit
b50f59de5d
@ -638,6 +638,7 @@ class AutoExitMixIn: # use old-style to comply with SocketServer design
|
||||
|
||||
class chgunixservice(commandserver.unixservice):
|
||||
def init(self):
|
||||
self.repo = None
|
||||
self._inithashstate()
|
||||
self._checkextensions()
|
||||
class cls(AutoExitMixIn, SocketServer.ForkingMixIn,
|
||||
|
Loading…
Reference in New Issue
Block a user