mirror of
https://github.com/vale981/fibre_walk_project_code
synced 2025-03-04 09:21:38 -05:00
fix complaint about jj log -l
being deprecated
This commit is contained in:
parent
8aec3208d7
commit
7488eb4b17
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ def lighten_color(color, amount=0.5):
|
||||||
|
|
||||||
def get_jj_info(type):
|
def get_jj_info(type):
|
||||||
return subprocess.run(
|
return subprocess.run(
|
||||||
["jj", "log", "-T", type, "-l", "1", "--no-graph"],
|
["jj", "log", "-T", type, "-n", "1", "--no-graph"],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
).stdout.decode("utf-8")
|
).stdout.decode("utf-8")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue