##// END OF EJS Templates
subrepo: handle missing subrepo spec file as removed...
subrepo: handle missing subrepo spec file as removed Otherwise, all commands involving a dirstate walk will abort when trying to readone of them. Deleting .hgsub basically breaks a repository.

File last commit:

r12595:0f83a402 merge default
r13017:d0e21c5f stable
Show More
test-doctest.py
20 lines | 502 B | text/x-python | PythonLexer
# 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
doctest.testmod(mercurial.changelog)
import mercurial.dagparser
doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE)
import mercurial.match
doctest.testmod(mercurial.match)
import mercurial.url
doctest.testmod(mercurial.url)
import hgext.convert.cvsps
doctest.testmod(hgext.convert.cvsps)