diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py index 4c6e4a4486a0b00bdc6737f624a1e30c440b7f36_bWVyY3VyaWFsL2NoYW5nZWdyb3VwLnB5..038bfc384271be6ec2354262ab198714c773ed09_bWVyY3VyaWFsL2NoYW5nZWdyb3VwLnB5 100644 --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -377,7 +377,6 @@ repo.hook('pretxnchangegroup', throw=True, **hookargs) added = [cl.node(r) for r in xrange(clstart, clend)] - 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 @@ -385,7 +384,7 @@ # # We should not use added here but the list of all change in # the bundle - if publishing: + if repo.publishing(): phases.advanceboundary(repo, tr, phases.public, cgnodes) else: # Those changesets have been pushed from the