comparison .hgrc @ 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 7d59b638f711
children 7fa854682fdd
comparison
equal deleted inserted replaced
372:ce87db9038f5 373:ea4bee62d5b3
78 changeset.secret = red 78 changeset.secret = red
79 desc.here = inverse 79 desc.here = inverse
80 80
81 [revsetalias] 81 [revsetalias]
82 canmutate = not (public() or upstream()) 82 canmutate = not (public() or upstream())
83 smart = (parents(canmutate) or canmutate or . or (head() - closed())) and (not obsolete() or unstable()^) 83 smart = ((parents(canmutate) or canmutate or (head() - closed())) and (not obsolete() or unstable()^)) or .
84 84
85 %include .private/hgrc 85 %include .private/hgrc
86 %include $HOME/.hgrc-machine 86 %include $HOME/.hgrc-machine