add some more aliases
This commit is contained in:
parent
dffc6022be
commit
5ba1d7324b
1 changed files with 9 additions and 2 deletions
|
@ -22,17 +22,23 @@ format = "git"
|
||||||
[aliases]
|
[aliases]
|
||||||
wip = ["ci", "-m", "wip"]
|
wip = ["ci", "-m", "wip"]
|
||||||
la = ["log", "-r", "all()"]
|
la = ["log", "-r", "all()"]
|
||||||
|
l = ["log", "-T", "log_oneline"]
|
||||||
|
lh = ["log", "-r", "heads()"]
|
||||||
|
|
||||||
bsm = [
|
bsm = [
|
||||||
"bookmark", "set", "main", "-r",
|
"bookmark", "set", "main", "-r",
|
||||||
# first non-empty change from current revset
|
# first non-empty change from current revset
|
||||||
"latest(::@ & ~empty())"
|
"last()"
|
||||||
]
|
]
|
||||||
l = ["log", "-T", "log_oneline"]
|
dl = ["desc", "-r", "last()"]
|
||||||
|
|
||||||
|
|
||||||
[revsets]
|
[revsets]
|
||||||
log = '@ | ancestors(trunk()..(visible_heads() & mine()), 2) | trunk()'
|
log = '@ | ancestors(trunk()..(visible_heads() & mine()), 2) | trunk()'
|
||||||
# default
|
# default
|
||||||
# log = "present(@) | ancestors(immutable_heads().., 2) | present(trunk())"
|
# log = "present(@) | ancestors(immutable_heads().., 2) | present(trunk())"
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
[template-aliases]
|
[template-aliases]
|
||||||
# adapted from log oneline
|
# adapted from log oneline
|
||||||
|
@ -62,3 +68,4 @@ if(root,
|
||||||
|
|
||||||
[revset-aliases]
|
[revset-aliases]
|
||||||
"heads()" = '@ | ancestors(trunk()..(visible_heads()), 2) | trunk()'
|
"heads()" = '@ | ancestors(trunk()..(visible_heads()), 2) | trunk()'
|
||||||
|
"last()" = 'latest(::@ & ~empty())'
|
||||||
|
|
Loading…
Add table
Reference in a new issue