[PATCH] exchange: remove duplicated addition to pushop.stepdone
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Fri Aug 15 21:21:13 CDT 2014
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1408155501 25200
# Fri Aug 15 19:18:21 2014 -0700
# Node ID 06aaeda2eb3038c67b6ea6c32cfb13ca9e532844
# Parent 8dda6f6ff564d8fe6ac7b8ce4c74eb9bfb5de14a
exchange: remove duplicated addition to pushop.stepdone
Not sure how it get there but it is useless.
diff --git a/mercurial/exchange.py b/mercurial/exchange.py
--- a/mercurial/exchange.py
+++ b/mercurial/exchange.py
@@ -351,11 +351,10 @@ def _pushb2ctx(pushop, bundler):
"""
if 'changesets' in pushop.stepsdone:
return
pushop.stepsdone.add('changesets')
# Send known heads to the server for race detection.
- pushop.stepsdone.add('changesets')
if not _pushcheckoutgoing(pushop):
return
pushop.repo.prepushoutgoinghooks(pushop.repo,
pushop.remote,
pushop.outgoing)
More information about the Mercurial-devel
mailing list