From e782da7ec2da1ed1c6605f9f625c0ec82eccc944 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Sun, 11 Feb 2024 10:41:41 -0800 Subject: [PATCH] cli: fix a few references to "legacy" as default graph style The "curved" style has been the default for a long time now. --- cli/src/config-schema.json | 2 +- cli/tests/test_log_command.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/config-schema.json b/cli/src/config-schema.json index 08b84189f89..716c7eb534d 100644 --- a/cli/src/config-schema.json +++ b/cli/src/config-schema.json @@ -111,7 +111,7 @@ "ascii", "ascii-large" ], - "default": "legacy" + "default": "curved" } } }, diff --git a/cli/tests/test_log_command.rs b/cli/tests/test_log_command.rs index 36ab070977c..0e43b0c12c1 100644 --- a/cli/tests/test_log_command.rs +++ b/cli/tests/test_log_command.rs @@ -1147,7 +1147,7 @@ fn test_graph_styles() { &["new", "-m", "merge", r#"description("main branch 1")"#, "@"], ); - // Default (legacy) style + // Default (curved) style let stdout = test_env.jj_cmd_success(&repo_path, &["log", "-T=description"]); insta::assert_snapshot!(stdout, @r###" @ merge