D7484: localrepo: mark nullrev has never filtered
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Sat Nov 23 19:59:30 EST 2019
Closed by commit rHGc25885cc6849: localrepo: mark nullrev has never filtered (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
CHANGED PRIOR TO COMMIT
https://phab.mercurial-scm.org/D7484?vs=18355&id=18370#toc
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7484?vs=18355&id=18370
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7484/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7484
AFFECTED FILES
mercurial/localrepo.py
tests/test-repo-filters-tiptoe.t
CHANGE DETAILS
diff --git a/tests/test-repo-filters-tiptoe.t b/tests/test-repo-filters-tiptoe.t
--- a/tests/test-repo-filters-tiptoe.t
+++ b/tests/test-repo-filters-tiptoe.t
@@ -54,6 +54,5 @@
Getting basic changeset inforation about `null`
$ hg log -r null -T "{node}\n{date}\n"
- debug.filters: computing revision filter for "visible"
0000000000000000000000000000000000000000
0.00
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -1532,7 +1532,7 @@
# dealing with some special values
if changeid == b'null' or changeid == nullrev:
- return context.changectx(self, nullrev, nullid)
+ return context.changectx(self, nullrev, nullid, maybe_filtered=False)
if changeid == b'tip':
node = self.changelog.tip()
rev = self.changelog.rev(node)
To: marmoute, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list