changeset 5273:aca826b5bd4d

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.
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 03 May 2020 20:11:37 +0800
parents 1227553f82c6
children 498dc888ff40
files hgext3rd/evolve/obshistory.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)