-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It seems everyone agrees that `obslog` is not an intuitive name. There was some discussion about alternatives in #3592. The alternatives included `evolution`, `evolutionlog`, `evolog`, `rewritelog`, `revlog`, and `changelog`. It seemed like `evolution` was the most popular option. That also matches the command's current help text ("Show how a change has evolved over time").
- Loading branch information
1 parent
d740f18
commit 9d35a0e
Showing
15 changed files
with
85 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -431,7 +431,7 @@ fn test_log_builtin_templates_colored_debug() { | |
} | ||
|
||
#[test] | ||
fn test_log_obslog_divergence() { | ||
fn test_log_evolution_divergence() { | ||
let test_env = TestEnvironment::default(); | ||
test_env.jj_cmd_ok(test_env.env_root(), &["git", "init", "repo"]); | ||
let repo_path = test_env.env_root().join("repo"); | ||
|
@@ -473,8 +473,8 @@ fn test_log_obslog_divergence() { | |
[1m[38;5;14m◆[0m [1m[38;5;5mz[0m[38;5;8mzzzzzzz[39m [38;5;2mroot()[39m [1m[38;5;4m0[0m[38;5;8m0000000[39m | ||
"###); | ||
|
||
// Obslog and hidden divergent | ||
let stdout = test_env.jj_cmd_success(&repo_path, &["obslog"]); | ||
// Evolution and hidden divergent | ||
let stdout = test_env.jj_cmd_success(&repo_path, &["evolution"]); | ||
insta::assert_snapshot!(stdout, @r###" | ||
@ qpvuntsm?? [email protected] 2001-02-03 08:05:08 ff309c29 | ||
│ description 1 | ||
|
@@ -484,8 +484,8 @@ fn test_log_obslog_divergence() { | |
(empty) (no description set) | ||
"###); | ||
|
||
// Colored obslog | ||
let stdout = test_env.jj_cmd_success(&repo_path, &["obslog", "--color=always"]); | ||
// Colored evolution | ||
let stdout = test_env.jj_cmd_success(&repo_path, &["evolution", "--color=always"]); | ||
insta::assert_snapshot!(stdout, @r###" | ||
[1m[38;5;2m@[0m [1m[4m[38;5;1mq[24mpvuntsm[38;5;9m??[39m [38;5;[email protected][39m [38;5;14m2001-02-03 08:05:08[39m [38;5;12mf[38;5;8mf309c29[39m[0m | ||
│ [1mdescription 1[0m | ||
|
Oops, something went wrong.