comparison hgext/children.py @ 4906: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 be78ab217109
children cd65a67aff31
comparison
equal deleted inserted replaced
4905:fc61495ea9cf 4906:30847b8af7ca