comparison .hgrc @ 366:dcd78275075f

hgrc: rework "smart" revset to exploit upstream() from remotebranches This way you really only see things that aren't pushed, even if you're pushing to a server in draft phase for someone to do a final review pass.
author Augie Fackler <raf@durin42.com>
date Fri, 11 Sep 2015 09:56:16 -0400
parents 26560465f5f6
children 9e17f111c3d9
comparison
equal deleted inserted replaced
365:26560465f5f6 366:dcd78275075f
74 changeset.draft = magenta 74 changeset.draft = magenta
75 changeset.secret = red 75 changeset.secret = red
76 desc.here = inverse 76 desc.here = inverse
77 77
78 [revsetalias] 78 [revsetalias]
79 smart = (parents(not public()) or not public() or . or head()) and (not obsolete() or unstable()^) 79 canmutate = not (public() or upstream())
80 smart = (parents(canmutate) or canmutate or . or head()) and (not obsolete() or unstable()^)