diff --git a/modules/home-manager/reo101-scm/default.nix b/modules/home-manager/reo101-scm/default.nix index 8e3f8ca..f45a202 100644 --- a/modules/home-manager/reo101-scm/default.nix +++ b/modules/home-manager/reo101-scm/default.nix @@ -90,6 +90,17 @@ in # pager = "nvim"; editor = "nvim"; }; + revsets = { + log = "@ | bases | branches | curbranch::@ | @::nextbranch | downstream(@, branchesandheads)"; + }; + revset-aliases = { + "bases" = "dev"; + "downstream(x,y)" = "(x::y) & y"; + "branches" = "downstream(trunk(), branches()) & mine()"; + "branchesandheads" = "branches | (heads(trunk()::) & mine())"; + "curbranch" = "latest(branches::@- & branches)"; + "nextbranch" = "roots(@:: & branchesandheads)"; + }; }; }; };