feat(scm): add some jj
revset
aliases
This commit is contained in:
parent
7956cfd20a
commit
df4e037373
1 changed files with 11 additions and 0 deletions
|
@ -90,6 +90,17 @@ in
|
||||||
# pager = "nvim";
|
# pager = "nvim";
|
||||||
editor = "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)";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue