changeset 29901 | 4d1e6f91f1c7 |
parent 29806 | 82e8c86cdd6d |
child 29973 | 4ddb05751b12 |
--- a/mercurial/discovery.py Fri Aug 26 12:48:20 2016 +0200 +++ b/mercurial/discovery.py Tue Sep 06 09:43:25 2016 -0700 @@ -81,7 +81,7 @@ # at least one of them must not be set assert None in (commonheads, missingroots) cl = repo.changelog - if not missingheads: + if missingheads is None: missingheads = cl.heads() if missingroots: discbases = []