mercurial/hg.py
changeset 25624 f0745da75056
parent 25591 f1d46075b13a
child 25660 328739ea70c3
--- a/mercurial/hg.py	Thu Jun 18 15:33:24 2015 -0500
+++ b/mercurial/hg.py	Thu Jun 18 15:34:22 2015 -0500
@@ -253,7 +253,7 @@
                 closetopic[0] = topic
             else:
                 ui.progress(topic, pos + num)
-        srcpublishing = srcrepo.ui.configbool('phases', 'publish', True)
+        srcpublishing = srcrepo.publishing()
         srcvfs = scmutil.vfs(srcrepo.sharedpath)
         dstvfs = scmutil.vfs(destpath)
         for f in srcrepo.store.copylist():