comparison hgext/alias.py @ 4950:30847b8af7ca

dirstate: add __contains__ and make __getitem__ more useful dirstate.state(f) == '?' -> f not in dirstate dirstate.state(f) -> dirstate[f]
author Matt Mackall <mpm@selenic.com>
date Sat, 21 Jul 2007 16:02:09 -0500
parents 244a2609c199
children a28661788f2f
comparison
equal deleted inserted replaced
4949:fc61495ea9cf 4950:30847b8af7ca