Mercurial > hg
diff mercurial/setdiscovery.py @ 39172:8973fc62bfff
dagutil: remove heads() and localsubset from revlogdag.__init__
The previous commit removed the last consumer of this API.
I'm not going to mark as API incompatible because I doubt anybody
used this functionality (outside of possibly passing an argument
to revlogdag.__init__). I intend to remove revlogdag later in
this series and its API annotation will cover this one.
Differential Revision: https://phab.mercurial-scm.org/D4320
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 17 Aug 2018 17:59:16 +0000 |
parents | abce899c985f |
children | 56279660d264 |
line wrap: on
line diff
--- a/mercurial/setdiscovery.py Fri Aug 17 17:54:10 2018 +0000 +++ b/mercurial/setdiscovery.py Fri Aug 17 17:59:16 2018 +0000 @@ -152,7 +152,7 @@ else: ownheads = [rev for rev in cl.headrevs() if rev != nullrev] - dag = dagutil.revlogdag(cl, localsubset=ownheads) + dag = dagutil.revlogdag(cl) # early exit if we know all the specified remote heads already ui.debug("query 1; heads\n")