##// END OF EJS Templates
discovery: add extinct changesets to outgoing.excluded...
discovery: add extinct changesets to outgoing.excluded Before this change, push would incorrectly fast-path the bundle generation when extinct changesets are involved, because they are not added to outgoing.excluded. The reason to do so are related to outgoing.excluded being assumed to contain only secret changesets by scmutil.nochangesfound(), when displaying warnings like: changes found (ignored 9 secret changesets) Still, outgoing.excluded seems like a good API to report the extinct changesets instead of dedicated code and nothing in the docstring indicates it to be bound to secret changesets. This patch adds extinct changesets to outgoing.excluded and fixes scmutil.nochangesfound() to filter the excluded node list. Original version and test by Pierre-Yves.David@ens-lyon.org

File last commit:

r16251:db68ee32 default
r17248:6ffb35b2 stable
Show More
test-doctest.py
44 lines | 1008 B | text/x-python | PythonLexer
Mads Kiilerich
tests: fix readline escape characters in output for test-doctest.py
r7041 # this is hack to make sure no escape characters are inserted into the output
Matt Mackall
fix up a bunch of check-code warnings
r10413 import os
Patrick Mezard
test-doctest: remove TERM env variable only if it's there
r7078 if 'TERM' in os.environ:
Dirkjan Ochtman
clean up trailing spaces
r7184 del os.environ['TERM']
Benoit Boissinot
[extendedchangelog] encode/decode function...
r3232 import doctest
Matt Mackall
util: add a doctest for empty sha() calls
r15392 import mercurial.util
doctest.testmod(mercurial.util)
Benoit Boissinot
[extendedchangelog] encode/decode function...
r3232 import mercurial.changelog
doctest.testmod(mercurial.changelog)
Peter Arrenbrecht
dagparser: parses and formats DAGs as concise text...
r11335 import mercurial.dagparser
Peter Arrenbrecht
debugbuilddag: build a changelog dag from a concise description...
r11337 doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE)
Peter Arrenbrecht
dagparser: parses and formats DAGs as concise text...
r11335
Martin Geisler
match: add narrowmatcher class...
r12165 import mercurial.match
doctest.testmod(mercurial.match)
Adrian Buehlmann
store: add some doctests
r13949 import mercurial.store
doctest.testmod(mercurial.store)
Sune Foldager
ui: add configint function and tests
r14171 import mercurial.ui
doctest.testmod(mercurial.ui)
Mads Kiilerich
test-doctest: test the modules that contains doctests
r12594 import mercurial.url
doctest.testmod(mercurial.url)
Matt Mackall
encoding: add localstr class to track UTF-8 version of transcoded strings...
r13046 import mercurial.encoding
doctest.testmod(mercurial.encoding)
Mads Kiilerich
test-doctest: test the modules that contains doctests
r12594
Mads Kiilerich
hgweb: doctest of url creation from wildcard expansion
r13402 import mercurial.hgweb.hgwebdir_mod
doctest.testmod(mercurial.hgweb.hgwebdir_mod)
Patrick Mezard
convert: fix builtin cvsps under Windows...
r7097 import hgext.convert.cvsps
doctest.testmod(hgext.convert.cvsps)
Matt Mackall
revset: add formatspec convenience query builder
r14901
import mercurial.revset
doctest.testmod(mercurial.revset)
FUJIWARA Katsunori
minirst: use unicode string as intermediate form for replacement...
r15393
import mercurial.minirst
doctest.testmod(mercurial.minirst)
"Yann E. MORIN"
templates/filters: add doctest to the 'person' filter...
r16251
import mercurial.templatefilters
doctest.testmod(mercurial.templatefilters)