comparison hgext/hbisect.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 22ebd6ee5672
children c13610d5642c
comparison
equal deleted inserted replaced
4949:fc61495ea9cf 4950:30847b8af7ca