obslog: use unfiltered repo for --no-graph implementation too
repo.unfiltered() is used for graph version of obslog, because if we want to
filter non-local changesets, we only have to provide --filternonlocal flag on
the command line and _nodesandmarkers() will handle filtering. But that means
for obslog without -f to work correctly we need to provide unfiltered repo to
that function. With this patch both implementations of obslog (--graph and
--no-graph) see the same repo.
--- a/hgext3rd/evolve/obshistory.py Thu Apr 09 20:02:32 2020 +0200
+++ b/hgext3rd/evolve/obshistory.py Sun May 03 20:11:37 2020 +0800
@@ -485,7 +485,7 @@
markerfm = fm.nested(b"markers")
- data = _nodesandmarkers(repo, ctx, filternonlocal)
+ data = _nodesandmarkers(unfi, ctx, filternonlocal)
for nodes_, markers in data:
displaymarkers(ui, markerfm, nodes_, markers, ctx.node(), unfi,
includediff)