From 7488eb4b172facd1aef6a25550c0bfb3d3caae2b Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Fri, 23 Aug 2024 19:09:36 -0400 Subject: [PATCH] fix complaint about `jj log -l` being deprecated --- src/plot_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plot_utils.py b/src/plot_utils.py index 26f3aec..6402784 100644 --- a/src/plot_utils.py +++ b/src/plot_utils.py @@ -86,7 +86,7 @@ def lighten_color(color, amount=0.5): def get_jj_info(type): return subprocess.run( - ["jj", "log", "-T", type, "-l", "1", "--no-graph"], + ["jj", "log", "-T", type, "-n", "1", "--no-graph"], stdout=subprocess.PIPE, ).stdout.decode("utf-8")