Skip to content
Snippets Groups Projects
Commit 157f0e29 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

remotefilelog: avoid accessing repo instance after dispatch

Upstream commit c5e6c1ba1c79 (hg: don't reuse repo instance after
unshare(), 2018-09-12) poisoned the repo instance after
unshare(). That made `hg unshare` fail with remotefilelog because we
tried to close the fileserverclient after dispatch by accessing it via
the repo. This patch fixes that by storing the reference to the
fileserverclient at the beginning of dispatch.

An analogous patch was sent for remotefilelog version in FB's
hg-experimental as D5246.

Differential Revision: https://phab.mercurial-scm.org/D5253
parent 85bf93de
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment