mercurial/localrepo.py
changeset 25623 0bee97fa1fa8
parent 25290 8f88f768e24c
child 25624 f0745da75056
--- a/mercurial/localrepo.py	Wed Jun 10 19:18:51 2015 -0700
+++ b/mercurial/localrepo.py	Thu Jun 18 15:33:24 2015 -0500
@@ -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():