Mercurial > hg
comparison tests/test-doctest.py @ 11337:0f3c8a47960e
debugbuilddag: build a changelog dag from a concise description
Useful in tests to quickly build a complex DAG in an empty repo.
Handles local tags and named branches.
Options to, at each rev,
- create a new file,
- overwrite the same file,
- append to the same file,
- write to a specific line in a mergeable file.
Can run shell commands during DAG buildup.
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Thu, 10 Jun 2010 11:49:48 +0200 |
parents | 3201ff1459dd |
children | b7fbf24c8a93 bb324910e40a |
comparison
equal
deleted
inserted
replaced
11336:3dfbe26cfded | 11337:0f3c8a47960e |
---|---|
14 | 14 |
15 import mercurial.util | 15 import mercurial.util |
16 doctest.testmod(mercurial.util) | 16 doctest.testmod(mercurial.util) |
17 | 17 |
18 import mercurial.dagparser | 18 import mercurial.dagparser |
19 doctest.testmod(mercurial.dagparser) | 19 doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE) |
20 | 20 |
21 import hgext.convert.cvsps | 21 import hgext.convert.cvsps |
22 doctest.testmod(hgext.convert.cvsps) | 22 doctest.testmod(hgext.convert.cvsps) |