diff --git a/rules/jj.toml b/rules/jj.toml new file mode 100644 index 0000000..7a78676 --- /dev/null +++ b/rules/jj.toml @@ -0,0 +1,28 @@ +command = "jj" + +[[match_err]] +pattern = [ + "pass `--ignore-immutable`" +] +suggest = [ +''' +{{command}} --ignore-immutable''' +] + +[[match_err]] +pattern = [ + "use --allow-new to push new bookmark" +] +suggest = [ +''' +{{command}} --allow-new''' +] + +[[match_err]] +pattern = [ + "no bookmarks found in the default push revset" +] +suggest = [ +''' +{{command}} --change @''' +]