hgrc: fix smartlogstart
This commit is contained in:
parent
f3d1fee59d
commit
1506327979
1 changed files with 2 additions and 2 deletions
|
@ -14,10 +14,10 @@ xl = log -r 'smartlog()'
|
||||||
|
|
||||||
[revsetalias]
|
[revsetalias]
|
||||||
# We're interested in the current commit, and any non-extinct commits in the draft or secret phases.
|
# We're interested in the current commit, and any non-extinct commits in the draft or secret phases.
|
||||||
smartlogstart() = . | ((draft() | secret()) - extinct())
|
nonpublic() = not public() and not obsolete()
|
||||||
|
smartlogstart() = (parents(nonpublic()) or nonpublic() or . or head()) and (not obsolete() or unstable()^) and not closed()
|
||||||
# Now expand smartlogstart to go up to the parent public commit.
|
# Now expand smartlogstart to go up to the parent public commit.
|
||||||
publichead(r1) = ancestors(r1) - (descendants(public(), 1) and public())
|
publichead(r1) = ancestors(r1) - (descendants(public(), 1) and public())
|
||||||
smartlogstart() = (parents(not public()) or not public() or . or head()) and (not obsolete() or unstable()^) and not closed()
|
|
||||||
smartlog() = publichead(smartlogstart())::smartlogstart() | smartlogstart()
|
smartlog() = publichead(smartlogstart())::smartlogstart() | smartlogstart()
|
||||||
|
|
||||||
[color]
|
[color]
|
||||||
|
|
Loading…
Reference in a new issue