From patchwork Sat Aug 16 02:21:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: exchange: remove duplicated addition to pushop.stepdone From: Pierre-Yves David X-Patchwork-Id: 5451 Message-Id: <06aaeda2eb3038c67b6e.1408155673@marginatus.alto.octopoid.net> To: mercurial-devel@selenic.com Cc: Pierre-Yves David Date: Fri, 15 Aug 2014 19:21:13 -0700 # HG changeset patch # User Pierre-Yves David # 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)