Submitter | phabricator |
---|---|
Date | Nov. 8, 2019, 4:25 p.m. |
Message ID | <differential-rev-PHID-DREV-ah7c2fzuxxdh234nosed-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/42936/ |
State | Superseded |
Headers | show |
Comments
martinvonz added a comment. nit: should be `get_rev`, not `has_node` in the commit message REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7332/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7332 To: marmoute, #hg-reviewers, indygreg Cc: martinvonz, mercurial-devel
Patch
diff --git a/mercurial/phases.py b/mercurial/phases.py --- a/mercurial/phases.py +++ b/mercurial/phases.py @@ -733,7 +733,7 @@ repo = repo.unfiltered() cl = repo.changelog - rev = cl.nodemap.get + rev = cl.index.get_rev if not roots: return heads if not heads or heads == [nullid]: