add revset alias and change default log revset
This commit is contained in:
parent
94919e5319
commit
76e63ef6a0
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,7 @@ bsm = [
|
|||
l = ["log", "-T", "log_oneline"]
|
||||
|
||||
[revsets]
|
||||
log = "present(@) | ancestors(immutable_heads().., 3) | present(trunk())"
|
||||
log = '@ | ancestors(trunk()..(visible_heads() & mine()), 2) | trunk()'
|
||||
# default
|
||||
# log = "present(@) | ancestors(immutable_heads().., 2) | present(trunk())"
|
||||
|
||||
|
@ -60,3 +60,5 @@ if(root,
|
|||
)
|
||||
'''
|
||||
|
||||
[revset-aliases]
|
||||
"heads()" = '@ | ancestors(trunk()..(visible_heads()), 2) | trunk()'
|
||||
|
|
Loading…
Reference in a new issue