changeset 373:ea4bee62d5b3

hgrc: improve smart revset so . is always shown
author Augie Fackler <raf@durin42.com>
date Sat, 21 Nov 2015 14:37:10 -0500
parents ce87db9038f5
children 7fa854682fdd
files .hgrc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.hgrc
+++ b/.hgrc
@@ -80,7 +80,7 @@ desc.here = inverse
 
 [revsetalias]
 canmutate = not (public() or upstream())
-smart = (parents(canmutate) or canmutate or . or (head() - closed())) and (not obsolete() or unstable()^)
+smart = ((parents(canmutate) or canmutate or (head() - closed())) and (not obsolete() or unstable()^)) or .
 
 %include .private/hgrc
 %include $HOME/.hgrc-machine