D7292: changegroup: avoid shadowing a set with an int
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Nov 7 03:36:09 EST 2019
Closed by commit rHGea0b44255a31: changegroup: avoid shadowing a set with an int (authored by durin42).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7292?vs=17662&id=17703
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7292/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7292
AFFECTED FILES
mercurial/changegroup.py
CHANGE DETAILS
diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py
--- a/mercurial/changegroup.py
+++ b/mercurial/changegroup.py
@@ -315,15 +315,15 @@
)
self.callback = progress.increment
- efiles = set()
+ efilesset = set()
def onchangelog(cl, node):
- efiles.update(cl.readfiles(node))
+ efilesset.update(cl.readfiles(node))
self.changelogheader()
deltas = self.deltaiter()
cgnodes = cl.addgroup(deltas, csmap, trp, addrevisioncb=onchangelog)
- efiles = len(efiles)
+ efiles = len(efilesset)
if not cgnodes:
repo.ui.develwarn(
To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list