tests/test-doctest.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Tue, 03 Jul 2007 03:06:40 -0300
changeset 4744 44e17f5029d0
parent 4122 306055f5b65c
child 5066 167c422c745f
permissions -rw-r--r--
Make hg add foo; hg mv foo bar work. - foo will be removed (the user has a copy of its contents in bar) - bar will not be marked as a copy (there was no committed version of foo). We print a warning telling that to the user. Fixes issue269.

import doctest

import mercurial.changelog
# test doctest from changelog

doctest.testmod(mercurial.changelog)