diff mercurial/hg.py @ 25624:f0745da75056

publishing: use new helper method
author Matt Mackall <mpm@selenic.com>
date Thu, 18 Jun 2015 15:34:22 -0500
parents f1d46075b13a
children 328739ea70c3
line wrap: on
line diff
--- 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():