Mercurial > hg
view tests/test-doctest.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 | 306055f5b65c |
children | 167c422c745f |
line wrap: on
line source
import doctest import mercurial.changelog # test doctest from changelog doctest.testmod(mercurial.changelog)