dirstate: make parents() faster.
This allows localrepository.status() to avoid reading all but the
first 40 bytes of the dirstate in the common case of running "hg
status".
import doctestimport mercurial.changelog# test doctest from changelogdoctest.testmod(mercurial.changelog)