Mercurial > hg
view tests/test-doctest.py @ 4561:a73d80d6385a
Revive commands.dispatch as a simple way to call hg from other pythons scripts.
This was already used by hg-ssh and others and is really convenient if you
just want a native equivalent of calling the command line version.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 12 Jun 2007 17:39:57 +0200 |
parents | 306055f5b65c |
children | 167c422c745f |
line wrap: on
line source
import doctest import mercurial.changelog # test doctest from changelog doctest.testmod(mercurial.changelog)