diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py index 85294076adceb3263056e366023cba2e88ace6ca_bWVyY3VyaWFsL2xvY2FscmVwby5weQ==..0bee97fa1fa8ac455ff561b8294bcde2b15ec0f5_bWVyY3VyaWFsL2xvY2FscmVwby5weQ== 100644 --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -797,6 +797,9 @@ def local(self): return self + def publishing(self): + return self.ui.configbool('phases', 'publish', True) + def cancopy(self): # so statichttprepo's override of local() works if not self.local():