Mercurial > hg-stable
view tests/test-doctest.py @ 11335:3201ff1459dd
dagparser: parses and formats DAGs as concise text
As discussed during the sprint. See the doc comment and doctests
for specification and examples. This is used in subsequent patches
to export revlog and changelog DAGs, and to generate a repo with
a given changelog DAG.
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Thu, 10 Jun 2010 11:48:15 +0200 |
parents | e433002acb05 |
children | 0f3c8a47960e |
line wrap: on
line source
# this is hack to make sure no escape characters are inserted into the output import os if 'TERM' in os.environ: del os.environ['TERM'] import doctest import mercurial.changelog # test doctest from changelog doctest.testmod(mercurial.changelog) import mercurial.httprepo doctest.testmod(mercurial.httprepo) import mercurial.util doctest.testmod(mercurial.util) import mercurial.dagparser doctest.testmod(mercurial.dagparser) import hgext.convert.cvsps doctest.testmod(hgext.convert.cvsps)