changeset 25624 | f0745da75056 |
parent 25614 | 6c48f012d37e |
child 25660 | 328739ea70c3 |
--- a/mercurial/phases.py Thu Jun 18 15:33:24 2015 -0500 +++ b/mercurial/phases.py Thu Jun 18 15:34:22 2015 -0500 @@ -360,7 +360,7 @@ for root in repo._phasecache.phaseroots[draft]: keys[hex(root)] = value - if repo.ui.configbool('phases', 'publish', True): + if repo.publishing(): # Add an extra data to let remote know we are a publishing # repo. Publishing repo can't just pretend they are old repo. # When pushing to a publishing repo, the client still need to