mercurial/changegroup.py
changeset 25624 f0745da75056
parent 25574 88a17ccf0196
child 25660 328739ea70c3
--- a/mercurial/changegroup.py	Thu Jun 18 15:33:24 2015 -0500
+++ b/mercurial/changegroup.py	Thu Jun 18 15:34:22 2015 -0500
@@ -820,7 +820,7 @@
             repo.hook('pretxnchangegroup', throw=True, pending=p, **hookargs)
 
         added = [cl.node(r) for r in xrange(clstart, clend)]
-        publishing = repo.ui.configbool('phases', 'publish', True)
+        publishing = repo.publishing()
         if srctype in ('push', 'serve'):
             # Old servers can not push the boundary themselves.
             # New servers won't push the boundary if changeset already