[PATCH] localrepo: fix pyflakes warning for unused variable after 2888a412f0b0
Mads Kiilerich
mads at kiilerich.com
Sun Jan 12 16:04:50 UTC 2014
# HG changeset patch
# User Mads Kiilerich <madski at unity3d.com>
# 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
More information about the Mercurial-devel
mailing list