From patchwork Sun Jan 12 16:04:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: localrepo: fix pyflakes warning for unused variable after 2888a412f0b0 From: Mads Kiilerich X-Patchwork-Id: 3294 Message-Id: To: mercurial-devel@selenic.com Cc: Pierre-Yves David Date: Sun, 12 Jan 2014 17:04:50 +0100 # HG changeset patch # User Mads Kiilerich # Date 1389542104 -3600 # Sun Jan 12 16:55:04 2014 +0100 # Node ID cc40d5a0e5f2767325435229cab2559bf6dd85c4 # Parent d2704c48f4176d8cd6f21d33500820d44763585c localrepo: fix pyflakes warning for unused variable after 2888a412f0b0 The comment as it is do not seem to apply and is removed. There should perhaps be another comment instead. diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1691,10 +1691,6 @@ class localrepository(object): "changegroupsubset.")) else: cg = remote.changegroupsubset(fetch, heads, 'pull') - # we use unfiltered changelog here because hidden revision must - # be taken in account for phase synchronization. They may - # becomes public and becomes visible again. - cl = self.unfiltered().changelog result = self.addchangegroup(cg, 'pull', remote.url()) # compute target subset