Mercurial > public > mercurial-scm > hg-stable
diff mercurial/bundle2.py @ 42057:566daffc607d
cleanup: use set literals where possible
Differential Revision: https://phab.mercurial-scm.org/D6192
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 03 Apr 2019 11:21:27 -0700 |
parents | 662ffdde5adf |
children | 29569f2db929 |
line wrap: on
line diff
--- a/mercurial/bundle2.py Wed Jul 19 13:17:49 2017 -0700 +++ b/mercurial/bundle2.py Wed Apr 03 11:21:27 2019 -0700 @@ -2315,7 +2315,7 @@ oldmatcher=oldmatcher, matcher=newmatcher, fullnodes=commonnodes) - cgdata = packer.generate(set([nodemod.nullid]), list(commonnodes), + cgdata = packer.generate({nodemod.nullid}, list(commonnodes), False, 'narrow_widen', changelog=False) part = bundler.newpart('changegroup', data=cgdata)