sapling/tests
FUJIWARA Katsunori 10baf11523 localrepo: use changelog.hasnode instead of self.__contains__
Before this patch, releasing the store lock implies the actions below, when
the transaction is aborted:

  1. "commithook()" scheduled in "localrepository.commit()" is invoked
  2. "changectx.__init__()" is invoked via "self.__contains__()"
  3. specified ID is examined against "repo.dirstate.p1()"
  4. validation function is invoked in "dirstate.p1()"

In subsequent patches, "dirstate.invalidate()" invocations for
discarding changes are replaced with "dirstateguard", but discarding
changes by "dirstateguard" is executed after releasing the store lock:
resources are acquired in "wlock => dirstateguard => store lock" order,
and are released in reverse order.

This may cause that "dirstate.p1()" still refers to the changeset to be
rolled-back at (4) above: pushing multiple patches by "hg qpush" is
a typical case.

When releasing the store lock, such changesets are:

  - not contained in "repo.changelog", if it is reloaded from
    ".hg/00changelog.i", as that file was already truncated by
    "transaction.abort()"

  - still contained in it, otherwise
    (this "dirty read" problem is discussed in "Transaction Plan"
     http://mercurial.selenic.com/wiki/TransactionPlan)

Validation function shows "unknown working parent" warning in the
former case, but reloading "repo.changelog" depends on the timestamp
of ".hg/00changelog.i". This causes occasional test failures.

In the case of scheduled "commithook()", it just wants to examine
whether "node ID" of committed changeset is still valid or not. Other
examinations implied in "changectx.__init__()" are meaningless.

To avoid showing the "unknown working parent" warning irregularly, this
patch uses "changelog.hasnode()" instead of "node in self" to examine
existence of committed changeset.
2015-05-07 12:07:10 +09:00
..
blacklists extensions: remove the inotify extension (BC) 2014-03-01 16:20:15 -06:00
bundles discovery: test coverage for issue4438 / 475a22a41c55 / a720a37e15a3 2014-11-06 01:48:29 +01:00
gpg tests: stop tracking tests/gpg/random_seed 2014-01-20 01:29:54 +01:00
svn convert/svn: do not try converting empty head revisions (issue3347) 2012-04-18 14:04:58 +02:00
autodiff.py tests/autodiff.py: explicitly only honor feature diffopts 2014-11-21 16:02:26 -08:00
binfile.bin Add test for git binary diff support 2006-10-12 09:17:16 -07:00
bzr-definitions tests: don't load unnecessary graphlog extension 2013-11-22 19:14:17 +01:00
cgienv tests: remove duplication of the CGI environment variables 2011-01-16 19:12:54 +08:00
dumbhttp.py tests: have dumbhttp.py use cmdutil.service() to wait for child to listen() 2014-11-02 13:08:46 +09:00
dummyssh dummyssh: fix check-code nit 2013-06-14 15:28:40 -04:00
f tests: teach f not to report symlink mode bits 2015-01-17 13:53:56 -08:00
filterpyflakes.py filterpyflakes: filter WindowsError unconditionally 2014-05-13 19:29:45 -05:00
generate-working-copy-states.py generate-working-copy-states: open() in binary mode when writing content 2014-12-05 22:58:02 -05:00
get-with-headers.py get-with-headers: support parsing and pretty printing JSON 2015-03-30 20:56:54 -07:00
heredoctest.py heredoctest: do not append extra newline character to continuation line 2014-09-28 15:13:35 +09:00
hghave tests: make hghave list features alphabetically 2014-10-04 17:22:22 +09:00
hghave.py hghave: we now support Python 2.7.9's ssl for https 2015-01-13 15:08:55 -05:00
hgterm.ti tests: hardcode terminfo entry for the terminfo color test 2011-06-27 11:36:40 -07:00
hgweberror.py hgweb: send proper HTTP response after uncaught exception 2014-11-28 10:59:02 -08:00
histedit-helpers.sh tests: convert histedit tests to .t 2012-06-30 03:34:44 +02:00
killdaemons.py killdaemons: correct typo of _check() function caught by pyflakes 2014-04-29 12:37:36 +09:00
md5sum.py check-code: flag 0/1 used as constant Boolean expression 2011-06-01 12:38:46 +02:00
missing-comment.hg histedit: new extension for interactive history editing 2012-06-27 17:52:54 -05:00
mockblackbox.py tests: move mock blackbox extension into own file 2015-04-13 09:36:33 -04:00
notcapable peer: introduce real peer classes 2012-07-13 21:47:06 +02:00
printenv.py tests: consistently use printenv.py the same MSYS/Windows-compatible way 2012-06-21 03:05:02 +02:00
readlink.py many, many trivial check-code fixups 2010-01-25 00:05:27 -06:00
README change wiki/bts URLs to point to new hostname 2009-06-24 15:32:37 +02:00
revlog-formatv0.py verify: fix "missing revlog!" errors for revlog format v0 and add test 2010-09-05 22:32:11 +02:00
run-tests.py run-tests: spread and document the content of time tuple 2015-05-07 23:25:13 -07:00
seq.py tests: introduce 'seq.py' as a portable replacement for 'seq' 2015-03-17 20:59:23 -04:00
silenttestrunner.py silenttestrunner: add environment variable to make tests noisy again 2014-11-13 15:47:15 -05:00
sitecustomize.py run-tests: collect aggregate code coverage 2015-03-28 00:47:58 -07:00
svn-safe-append.py convert: fix test-convert-svn-* problems with mtime not changing 2008-04-01 09:17:11 +02:00
svnxml.py test-convert-svn-sink: add helper to smooth svn xml output 2012-04-24 13:05:38 +02:00
test-586.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-1102.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-1993.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-abort-checkin.t tests: write hgrc of more than two lines by using shell heredoc 2014-11-04 23:41:46 +09:00
test-acl.t test-acl: alter sed construct to avoid changes in .hg/hgrc formatting 2014-09-09 16:51:21 -04:00
test-add.t test-add.t: fix output difference between Windows and OS X (issue4603) 2015-04-17 12:11:14 -04:00
test-addremove-similar.t addremove: restore the relative path printing when files are named 2014-12-04 23:08:27 -05:00
test-addremove.t spelling: fixes from proofreading of spell checker issues 2015-01-18 02:38:57 +01:00
test-alias.t dispatch: offer suggestions of similar-named commands 2015-02-10 15:59:12 -05:00
test-ancestor.py ancestor: add a way to remove ancestors of bases from a given set 2014-11-14 19:40:30 -08:00
test-ancestor.py.out test-ancestor: use random testing for missing ancestors 2014-11-15 10:55:34 -08:00
test-annotate.t committablefilectx: propagate ancestry info to parent to fix annotation 2015-04-18 14:10:55 +09:00
test-archive-symlinks.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-archive.t hgweb: fix a crash when using web.archivesubrepos 2014-11-05 21:33:45 -05:00
test-atomictempfile.py test-atomictempfile: convert to unit test 2013-02-09 19:02:45 +02:00
test-audit-path.t tests: fix for windows - slashes and no serve 2013-01-30 19:40:07 +01:00
test-backout.t backout: add --commit option 2014-12-17 17:26:12 -08:00
test-backwards-remove.t tests: remove unneeded -d flags 2010-09-02 23:22:51 +02:00
test-bad-extension.t tests: write hgrc of more than two lines by using shell heredoc 2014-11-04 23:41:46 +09:00
test-bad-pull.t tests: pull common http server setup out of individual tests 2014-10-16 13:48:51 +09:00
test-basic.t run-test: enable the devel warning during tests 2015-04-12 09:46:03 -04:00
test-batching.py classes: fix class style problems found by 06e968819ac9 2011-06-29 15:00:00 +02:00
test-batching.py.out wireproto: add basic command batching infrastructure 2011-06-14 22:51:26 +02:00
test-bdiff.py mdiff: replace wscleanup() regexps with C loops 2011-11-18 14:23:03 +01:00
test-bdiff.py.out mdiff: replace wscleanup() regexps with C loops 2011-11-18 14:23:03 +01:00
test-bheads.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-bisect2.t hbisect: add two new revset descriptions: 'goods' and 'bads' 2011-09-24 01:32:50 +02:00
test-bisect3.t tests: don't let time go back before 0 o'clock in bisect3.t 2011-11-07 03:14:53 +01:00
test-bisect.t obsolete: update tests to use obsolete options 2014-10-14 13:34:25 -07:00
test-blackbox.t tags: explicitly log which tags cache file is being written 2015-04-16 11:59:36 -04:00
test-bookmarks-current.t bookmarks: split ui.write() so that it can be easily ported to formatter api 2014-10-03 00:36:36 +09:00
test-bookmarks-merge.t update: when deactivating a bookmark, print a message 2014-05-14 12:49:55 -07:00
test-bookmarks-pushpull.t bookmarks: show detailed status about outgoing bookmarks 2015-04-08 02:56:19 +09:00
test-bookmarks-rebase.t rebase: restore bookmark state on abort 2015-04-13 14:54:02 -04:00
test-bookmarks-strip.t update: when deactivating a bookmark, print a message 2014-05-14 12:49:55 -07:00
test-bookmarks.t revset: raise RepoLookupError to make present() predicate continue the query 2015-01-31 01:00:50 +09:00
test-branch-option.t branch: warn on branching 2011-12-08 14:32:44 -06:00
test-branch-tag-confict.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-branches.t revbranchcache: write cache even during read operations 2015-02-24 18:43:31 -08:00
test-bundle2-exchange.t bundle2: disable ouput capture unless we use http (issue4613 issue4615) 2015-04-28 17:38:02 -07:00
test-bundle2-format.t bundle2: rename format, parts and config to final names 2015-04-09 16:25:48 -04:00
test-bundle2-multiple-changegroups.t transaction: introduce a transaction ID, to be available to all hooks 2015-04-15 11:11:54 -04:00
test-bundle2-pushback.t push: acquire local 'wlock' if "pushback" is expected (BC) (issue4596) 2015-04-15 10:36:21 -04:00
test-bundle2-remote-changegroup.t bundle2: rename format, parts and config to final names 2015-04-09 16:25:48 -04:00
test-bundle-r.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-bundle-type.t pull: print "pulling from foo" before accessing the other repo 2015-02-24 10:55:24 +01:00
test-bundle-vs-outgoing.t tests: don't load unnecessary graphlog extension 2013-11-22 19:14:17 +01:00
test-bundle.t transaction: introduce a transaction ID, to be available to all hooks 2015-04-15 11:11:54 -04:00
test-casecollision-merge.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-casecollision.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-casefolding.t tests: fix backslashes in test-casefolding 2015-04-27 16:24:43 -05:00
test-cat.t cat: disable optimization of single file case for workingctx 2015-04-05 13:16:46 +09:00
test-censor.t tests: replace uses of 'seq' with portable 'seq.py' 2015-03-17 21:47:47 -04:00
test-changelog-exec.t merge with stable 2014-09-22 16:14:08 -05:00
test-check-code-hg.t tests: change some #ifs to #requires 2014-08-06 11:53:08 -05:00
test-check-code.t spelling: fixes from proofreading of spell checker issues 2014-04-17 22:47:38 +02:00
test-check-commit-hg.t obsolete: update tests to use obsolete options 2014-10-14 13:34:25 -07:00
test-check-pyflakes.t cleanup: make sure we always access members of imported modules 2014-08-15 04:37:45 +02:00
test-children.t children: don't pass filectx to displayer 2015-03-26 23:56:18 +09:00
test-churn.t churn: deprecate -t option in favour of -T 2015-02-24 11:37:07 -05:00
test-clone-cgi.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-clone-pull-corruption.t tests: use double quote to quote arguments in hook for portability 2015-04-23 22:39:21 +09:00
test-clone-r.t tests: reduce spurious failures when run with generaldelta 2012-07-11 15:03:10 -07:00
test-clone-update-order.t branch: warn on branching 2011-12-08 14:32:44 -06:00
test-clone.t test-clone: fix test expectations on systems without hardlinks 2015-04-03 18:10:12 -04:00
test-command-template.t tests: add a new commit to test-commandline-template 2015-05-05 14:45:09 -04:00
test-commandserver.t run-test: enable the devel warning during tests 2015-04-12 09:46:03 -04:00
test-commit-amend.t amend: check for directory renames for both merge parents (issue4516) 2015-03-02 19:01:00 +00:00
test-commit-interactive-curses.t record: fix record with change on moved file crashes (issue4619) 2015-04-22 13:56:30 -07:00
test-commit-interactive.t test-commit-interactive: add more globs for no-execbit platforms 2015-04-29 23:55:25 -04:00
test-commit-multiple.t tests: don't load unnecessary graphlog extension 2013-11-22 19:14:17 +01:00
test-commit-unresolved.t messages: quote "hg help" hints consistently 2015-01-17 22:01:14 -02:00
test-commit.t localrepo: show headline notes in commitctx before showing filenames 2014-04-18 13:33:20 +02:00
test-committer.t config: allow 'user' in .hgrc ui section (issue3169) 2014-07-26 09:27:11 +03:00
test-completion.t diff: rename --relative option to --root 2015-03-25 11:55:15 -07:00
test-config.t tests: fix globs for Windows 2014-11-16 16:26:15 -05:00
test-conflict.t merge: add an internal:merge3 tool 2014-08-05 14:58:45 -07:00
test-confused-revert.t revert: restore check for uncommitted merge (issue2915) (BC) 2011-07-21 15:39:37 -05:00
test-context.py spelling: fixes from proofreading of spell checker issues 2015-01-18 02:38:57 +01:00
test-context.py.out status: update various other methods to return new class 2014-10-14 00:52:27 -05:00
test-contrib.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-convert-authormap.t tests: reintroduce globs in test-convert-authormap.t 2012-06-13 02:29:47 +02:00
test-convert-baz.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-convert-bzr-114.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-convert-bzr-directories.t convert/bzr: fix test of divergent nested renames for bzr 1.x 2011-11-15 17:16:17 +01:00
test-convert-bzr-ghosts.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-convert-bzr-merges.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-convert-bzr-treeroot.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-convert-bzr.t solaris: diff -u emits "No differences encountered" 2014-02-19 13:46:49 -08:00
test-convert-clonebranches.t tests: write hgrc of more than two lines by using shell heredoc 2014-11-04 23:41:46 +09:00
test-convert-cvs-branch.t tests: run 'cvs init' only on non-existent directories (issue4482) 2014-12-28 21:30:52 +01:00
test-convert-cvs-detectmerge.t tests: run 'cvs init' only on non-existent directories (issue4482) 2014-12-28 21:30:52 +01:00
test-convert-cvs-synthetic.t tests: run 'cvs init' only on non-existent directories (issue4482) 2014-12-28 21:30:52 +01:00
test-convert-cvs.t cvsps: use a different tiebreaker to avoid flaky test 2015-03-13 14:20:13 -04:00
test-convert-cvsnt-mergepoints.rlog Rename CVSNT "mergepoints" test and make it executable. 2009-06-15 20:35:19 -04:00
test-convert-cvsnt-mergepoints.t tests: run 'cvs init' only on non-existent directories (issue4482) 2014-12-28 21:30:52 +01:00
test-convert-darcs.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-convert-datesort.t log: display closing-branch nodes as "_" (BC) 2014-11-24 16:42:49 -05:00
test-convert-filemap.t log: display closing-branch nodes as "_" (BC) 2014-11-24 16:42:49 -05:00
test-convert-git.t convert: adjust progress bar for octopus merges (issue4169) 2015-03-12 21:41:50 -04:00
test-convert-hg-sink.t convert: introduce --full for converting all files 2014-08-26 22:03:32 +02:00
test-convert-hg-source.t templater: don't overwrite the keyword mapping in runsymbol() (issue4362) 2014-11-03 12:08:03 -05:00
test-convert-hg-startrev.t tests: don't load unnecessary graphlog extension 2013-11-22 19:14:17 +01:00
test-convert-hg-svn.t tests: write hgrc of more than two lines by using shell heredoc 2014-11-04 23:41:46 +09:00
test-convert-mtn.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-convert-p4-filetypes.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-convert-p4.t tests: fix p4 tests so they use separate ports and can be run in parallel 2014-08-25 03:27:51 +02:00
test-convert-splicemap.t tests: don't load unnecessary graphlog extension 2013-11-22 19:14:17 +01:00
test-convert-svn-branches.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-convert-svn-encoding.t branchcache: stay silent if failing to read cache files 2015-01-14 01:15:26 +01:00
test-convert-svn-move.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-convert-svn-sink.t bundles: do not overwrite existing backup bundles (BC) 2015-01-09 10:52:14 -08:00
test-convert-svn-source.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-convert-svn-startrev.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-convert-svn-tags.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-convert-tagsbranch-topology.t tests: write hgrc of more than two lines by using shell heredoc 2014-11-04 23:41:46 +09:00
test-convert-tla.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-convert.t convert: change default for git rename detection to 50% 2014-09-23 14:45:23 -07:00
test-copy-move-merge.t merge: change debug logging - test output changes but no real changes 2014-04-22 02:10:25 +02:00
test-copy.t largefiles: revert to lfilesrepo.status() being an unfiltered method 2015-01-25 22:55:10 -05:00
test-custom-filters.t tests: add exit codes to unified tests 2010-09-16 17:51:32 -05:00
test-debugbuilddag.t tests: don't load unnecessary graphlog extension 2013-11-22 19:14:17 +01:00
test-debugbundle.t bundle: when verbose, show what takes up the space in the generated bundle 2014-08-15 19:43:32 +02:00
test-debugcommands.t commands.debugrevlog: report max chain length 2015-03-28 12:58:44 -07:00
test-debugindexdot.t spelling: exercise 2012-08-17 13:58:18 -07:00
test-debugrename.t tests: unify test-debugrename 2010-09-14 21:41:06 +02:00
test-default-push.t config: use the same hgrc for a cloned repo as for an uninitted repo 2014-10-06 16:35:02 -04:00
test-demandimport.py demandimport: blacklist distutils.msvc9compiler (issue4475) 2014-12-22 17:27:31 -05:00
test-demandimport.py.out demandimport: make it possible to disable by setting HGDEMANDIMPORT=disable 2014-04-08 01:35:13 +02:00
test-devel-warnings.t devel-warn: add a prefix to all messages ("devel-warn: ") 2015-04-15 01:18:09 -04:00
test-diff-binary-file.t diff: use binary diff when copy source is binary 2015-01-17 15:03:41 -08:00
test-diff-change.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-diff-color.t tests: write hgrc of more than two lines by using shell heredoc 2014-11-04 23:41:46 +09:00
test-diff-copy-depth.t tests: unify test-diff-copy-depth 2010-09-02 15:08:36 +02:00
test-diff-hashes.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-diff-ignore-whitespace.t run-tests: allow test output lines to be terminated with \r in addition to \n 2012-09-26 00:56:27 +02:00
test-diff-issue2761.t spelling: doesn't/does not 2012-08-17 13:58:18 -07:00
test-diff-newlines.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-diff-reverse.t context.status: remove incorrect swapping of added/removed in workingctx 2014-10-24 15:52:20 -05:00
test-diff-subdir.t diff: rename --relative option to --root 2015-03-25 11:55:15 -07:00
test-diff-unified.t tests: add testing for diff.showfunc 2015-03-24 21:36:38 +01:00
test-diff-upgrade.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-diffdir.t revsets: make revpair revsets-aware 2010-10-07 18:05:04 -05:00
test-diffstat.t test-diffstat: add a glob the test runner wants on Windows 2015-03-28 23:57:16 -04:00
test-dirstate-race.t tests: remove exec bit from .t files 2010-09-14 16:03:10 +02:00
test-dirstate.t dirstate: add test for exceptions during updates 2014-09-05 15:36:56 -07:00
test-dispatch.py dispatch: wrap dispatch related information in a request class 2011-05-26 00:44:11 +03:00
test-dispatch.py.out commands: add exits(1) if a specified file cannot be added (issue 891) 2007-12-24 12:14:43 +01:00
test-dispatch.t help: fold repeatable option message into option table header 2014-08-12 04:00:42 -05:00
test-doctest.py patch.pathtransform: add doctests 2015-03-06 21:48:40 -08:00
test-double-merge.t merge: change debug logging - test output changes but no real changes 2014-04-22 02:10:25 +02:00
test-duplicateoptions.py extensions: remove the inotify extension (BC) 2014-03-01 16:20:15 -06:00
test-empty-dir.t tests: drop final true command from unified tests 2010-09-20 16:00:15 -05:00
test-empty-file.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-empty-group.t localrepo: reuse parent manifest in commitctx if no files have changed 2011-05-02 19:20:29 +02:00
test-empty.t merge: exit early during a no-op update (BC) 2013-10-01 17:43:54 -07:00
test-encode.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-encoding-align.t help: tweak --verbose command help hint 2014-08-12 03:01:37 -05:00
test-encoding-textwrap.t help: tweak --verbose command help hint 2014-08-12 03:01:37 -05:00
test-encoding.t tags: use full hash for formatter output as in log or annotate commands 2014-09-21 12:50:48 +09:00
test-eol-add.t tests: don't overwrite HGRCPATH 2011-03-01 17:01:17 +01:00
test-eol-clone.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-eol-hook.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-eol-patch.t tests: don't overwrite HGRCPATH 2011-03-01 17:01:17 +01:00
test-eol-tag.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-eol-update.t tests: don't overwrite HGRCPATH 2011-03-01 17:01:17 +01:00
test-eol.t eol: fix crash when handling removed files 2014-10-22 16:10:23 +02:00
test-eolfilename.t tests: write hgrc of more than two lines by using shell heredoc 2014-11-04 23:41:46 +09:00
test-excessive-merge.t tests: reduce spurious failures when run with generaldelta 2012-07-11 15:03:10 -07:00
test-execute-bit.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-export.t tests: write hgrc of more than two lines by using shell heredoc 2014-11-04 23:41:46 +09:00
test-extdiff.t windows: make shellquote() quote any path containing '\' (issue4629) 2015-04-29 21:14:59 -04:00
test-extension.t test: make version based test-extensions failure more explanatory 2015-03-10 11:01:10 -07:00
test-extra-filelog-entry.t tests: reduce spurious failures when run with generaldelta 2012-07-11 15:03:10 -07:00
test-fetch.t fetch: use an abort hint where appropriate 2015-03-17 20:36:33 +09:00
test-filebranch.t dirstate: use 'm' state in otherparent to reduce ambiguity 2014-10-10 13:31:06 -05:00
test-filecache.py scmutil.filecache: support watching over multiple files 2013-11-16 13:29:39 -08:00
test-filecache.py.out scmutil.filecache: support watching over multiple files 2013-11-16 13:29:39 -08:00
test-filelog.py test-filelog: move from dict() construction to {} literals 2014-03-12 13:21:02 -04:00
test-filelog.py.out tests: test test-filelog is python - rename to test-filelog.py 2012-04-23 01:57:17 +02:00
test-fileset-generated.t largefiles: don't mangle filesets when fixing up the log matcher 2015-04-18 13:08:41 -04:00
test-fileset.t test-fileset.t: remove 'bar ' and 'baz\' from tested filenames 2015-03-22 19:19:16 -07:00
test-flags.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-fncache.t transaction: include backup file in the "undo" transaction 2015-01-16 18:34:14 -08:00
test-gendoc.t test-gendoc: require gettext 2015-01-20 17:38:42 -08:00
test-generaldelta.t changegroup: fix file linkrevs during reorders (issue4462) 2014-11-20 16:30:57 -08:00
test-getbundle.t bundle2: rename format, parts and config to final names 2015-04-09 16:25:48 -04:00
test-git-export.t test-git-export: add globs the test runner wants on Windows 2015-03-29 00:00:14 -04:00
test-globalopts.t merge: be precise about what merged into what in short desc 2014-11-26 17:22:09 +03:00
test-glog-topological.t graphmod: rename graph-topological config to graph-group-branches 2014-12-08 15:20:28 -05:00
test-glog.t revset: have all() filter out null revision 2015-01-10 14:49:50 +09:00
test-gpg.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-graft.t graft: record intermediate grafts in extras 2015-04-05 12:12:02 -07:00
test-grep.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-hardlinks.t clone: add progress support to hardlink clones (issue3059) 2015-03-13 18:28:11 -04:00
test-help.t help: also hide options marked EXPERIMENTAL 2015-04-27 15:12:41 -07:00
test-hg-parseurl.py hg: make parseurl() consistently return normalised path 2011-04-06 12:48:59 +02:00
test-hg-parseurl.py.out hg: make parseurl() consistently return normalised path 2011-04-06 12:48:59 +02:00
test-hgcia.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-hghave.t tests: unify test-hghave 2010-09-26 13:41:32 -05:00
test-hgignore.t test-hgignore: add testing for ui.ignore 2014-12-17 18:53:38 -08:00
test-hgk.t hgk: don't honor whitespace and format-changing diffopts 2014-11-18 21:38:19 -08:00
test-hgrc.t tests: add "(glob)" to paths in test-hgrc.t for Windows 2014-10-20 22:08:08 +09:00
test-hgweb-auth.py cleanup: drop unused variables and an unused import 2013-07-01 20:48:56 +02:00
test-hgweb-auth.py.out http: strip credentials from urllib2 manager URIs (issue2885) 2011-08-05 21:05:40 +02:00
test-hgweb-bundle.t bundles: do not overwrite existing backup bundles (BC) 2015-01-09 10:52:14 -08:00
test-hgweb-commands.t hgweb: bring back infinite scroll in shortlog of paper style 2015-05-07 07:46:39 +09:00
test-hgweb-descend-empties.t hgweb: replace implicit <tbody> with explicit <thead> where appropriate 2015-02-06 15:52:55 +08:00
test-hgweb-diffs.t hgweb: clearly outline <tr> block in paper/changeset.tmpl 2015-01-10 21:37:42 +08:00
test-hgweb-empty.t hgweb: bring back infinite scroll in shortlog of paper style 2015-05-07 07:46:39 +09:00
test-hgweb-filelog.t hgweb: close <img> elements 2015-01-10 17:54:24 +08:00
test-hgweb-json.t json: implement {fileannotate} template 2015-04-10 22:37:40 -04:00
test-hgweb-no-path-info.t hgweb: adding branch names from inbranch template to atom feed 2014-04-17 11:45:43 -07:00
test-hgweb-no-request-uri.t hgweb: adding branch names from inbranch template to atom feed 2014-04-17 11:45:43 -07:00
test-hgweb-non-interactive.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-hgweb-raw.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-hgweb-removed.t hgweb: clearly outline <tr> block in paper/changeset.tmpl 2015-01-10 21:37:42 +08:00
test-hgweb.t merge with stable 2015-03-13 17:55:04 -05:00
test-hgwebdir-paths.py backout 17bc9a6bb165 (issue3077) (issue3071) 2011-10-29 11:02:23 -05:00
test-hgwebdir.t hgweb: replace implicit <tbody> with explicit <thead> where appropriate 2015-02-06 15:52:55 +08:00
test-hgwebdirsym.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-highlight.t hgweb: replace implicit <tbody> with explicit <thead> where appropriate 2015-02-06 15:52:55 +08:00
test-histedit-arguments.t histedit: allow histedit --continue when not on a descendant (BC) 2015-04-04 01:00:05 -07:00
test-histedit-bookmark-motion.t histedit: convert fold/roll actions into a class 2015-04-04 02:03:27 -07:00
test-histedit-commute.t tests: add "(glob)" to output in test-histedit-commute.t for Windows 2015-01-18 16:33:41 -05:00
test-histedit-drop.t histedit: store full node hash in rules 2015-01-26 15:18:07 -08:00
test-histedit-edit.t histedit: fix test-histedit-edit on vfat 2015-05-05 11:15:17 -07:00
test-histedit-fold-non-commute.t histedit: convert pick action into a class 2015-04-04 11:39:08 -07:00
test-histedit-fold.t histedit: fix rollup prompting for a commit message (issue4606) 2015-04-20 18:44:57 -07:00
test-histedit-no-change.t dirstate: properly clean-up some more merge state on setparents 2014-10-10 13:05:50 -05:00
test-histedit-non-commute-abort.t graft: allow creating sibling grafts 2015-04-05 11:55:38 -07:00
test-histedit-non-commute.t histedit: convert pick action into a class 2015-04-04 11:39:08 -07:00
test-histedit-obsolete.t histedit: convert fold/roll actions into a class 2015-04-04 02:03:27 -07:00
test-histedit-outgoing.t histedit: add "roll" command to fold commit data and drop message (issue4256) 2014-08-06 16:51:41 -04:00
test-hook.t merge: run update hook after the last wlock release 2015-04-29 15:52:31 -04:00
test-http-branchmap.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-http-clone-r.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-http-proxy.t clone: fix copying bookmarks in uncompressed clones (issue4430) 2014-10-31 12:56:25 -07:00
test-http.t transaction: introduce a transaction ID, to be available to all hooks 2015-04-15 11:11:54 -04:00
test-https.t transaction: introduce a transaction ID, to be available to all hooks 2015-04-15 11:11:54 -04:00
test-hup.t test-hup: use ls instead of echo 2014-11-05 01:23:40 +00:00
test-hybridencode.py store: switch to C-based hashed path encoding 2012-12-12 13:09:37 -08:00
test-hybridencode.py.out test-hybridencode: in practice, extensions aren't really unbound in length 2012-09-30 23:53:56 +02:00
test-i18n.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-identify.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-impexp-branch.t import: let --exact 'work' with --no-commit (issue4376) 2014-09-19 14:51:58 -05:00
test-import-bypass.t cmdutil.tryimportone: allow importing relative patches with --bypass 2015-03-10 13:06:38 -07:00
test-import-context.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-import-eol.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-import-git.t patch._applydiff: resolve prefix with respect to the cwd 2015-03-19 10:18:05 -07:00
test-import-merge.t merge with stable 2014-08-27 18:35:34 +02:00
test-import-unknown.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-import.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-incoming-outgoing.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-inherit-mode.t transaction: include backup file in the "undo" transaction 2015-01-16 18:34:14 -08:00
test-init.t largefiles: don't crash when cloning to a remote repo 2015-04-18 00:34:38 -04:00
test-install.t debuginstall: expand the editor path before searching for it (issue4380) 2015-04-30 23:02:52 -04:00
test-issue522.t dirstate: use 'm' state in otherparent to reduce ambiguity 2014-10-10 13:31:06 -05:00
test-issue612.t merge: don't use unknown() 2012-02-09 17:04:17 -06:00
test-issue619.t revset: fix first and last for generatorset (issue4465) 2014-12-01 05:18:12 -08:00
test-issue660.t revert: make backup when unforgetting a file (issue3423) 2013-07-26 17:08:05 -05:00
test-issue672.t merge: make 'keep' message more descriptive 2014-12-03 14:03:20 -08:00
test-issue842.t branch: warn on branching 2011-12-08 14:32:44 -06:00
test-issue1089.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-issue1175.t commit: remove reverse search for copy source when not in parent (issue4476) 2015-01-20 15:05:44 -08:00
test-issue1306.t branch: warn on branching 2011-12-08 14:32:44 -06:00
test-issue1438.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-issue1502.t update: improve error message for clean non-linear update 2013-09-23 17:43:33 -07:00
test-issue1802.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-issue1877.t update: when deactivating a bookmark, print a message 2014-05-14 12:49:55 -07:00
test-issue2137.t test: use proper subclassing in test-issue2137.t. 2012-10-16 23:12:07 +02:00
test-issue3084.t largefiles: for update -C, only update largefiles when necessary 2015-04-15 15:22:16 -04:00
test-journal-exists.t journal: set Abort hint when failing due to an abandoned transaction 2014-05-08 14:58:25 +00:00
test-keyword.t record: edit patch of newly added files (issue4304) 2015-04-23 14:27:26 -07:00
test-known.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-largefiles-cache.t largefiles: use the share source as the primary local store (issue4471) 2015-04-04 19:06:43 -04:00
test-largefiles-misc.t largefiles: don't mangle filesets when fixing up the log matcher 2015-04-18 13:08:41 -04:00
test-largefiles-small-disk.t largefiles: update in two steps, handle interrupted updates better 2013-11-07 01:56:40 +01:00
test-largefiles-update.t largefiles: make linear update set unsure largefiles normal if unchanged 2015-01-09 18:38:02 +01:00
test-largefiles-wireproto.t spelling: fixes from proofreading of spell checker issues 2014-04-17 22:47:38 +02:00
test-largefiles.t largefiles: for update -C, only update largefiles when necessary 2015-04-15 15:22:16 -04:00
test-lfconvert.t config: exit non zero on non-existent config option (issue4247) 2014-08-19 16:57:02 -07:00
test-locate.t files: actually filter out removed files 2014-09-30 15:45:48 -07:00
test-lock-badness.t lock: while releasing, unlink lockfile even if the release function throws 2014-10-16 19:15:51 -07:00
test-log.t templates: fix "log -q" output of phases style 2015-03-28 20:22:03 +09:00
test-lrucachedict.py lrucachedict: implement clear() 2013-09-06 13:16:21 -07:00
test-lrucachedict.py.out lrucachedict: implement clear() 2013-09-06 13:16:21 -07:00
test-mactext.t win32text: lowercase warning message 2012-06-12 14:18:18 +02:00
test-manifest-merging.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-manifest.py test-manifest: add some test coverage for treemanifest 2015-04-07 15:16:19 -07:00
test-manifest.t files: add new command unifying locate and manifest functionality 2014-09-12 18:32:46 -05:00
test-manifestv2.t manifestv2: add support for writing new manifest format 2015-03-31 14:01:33 -07:00
test-merge1.t merge: standardize error message for dirty working dir 2013-09-23 20:50:51 -07:00
test-merge2.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-merge4.t commit: abort on merge with missing files 2012-04-28 15:01:57 +02:00
test-merge5.t test-merge5: remove obsolete '-y' and its motivating comment 2014-10-09 16:57:45 -07:00
test-merge6.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-merge7.t resolve: add parenthesis around "no more unresolved files" message 2014-07-26 03:32:49 +02:00
test-merge8.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-merge9.t resolve: report no argument warning using a hint 2014-07-24 14:29:08 -07:00
test-merge10.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-merge-closedheads.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-merge-commit.t merge: change debug logging - test output changes but no real changes 2014-04-22 02:10:25 +02:00
test-merge-criss-cross.t merge: mute the status message when bid merge kicks in 2014-10-01 03:42:00 +02:00
test-merge-default.t comments: describe ancestor consistently - avoid 'least common ancestor' 2014-08-19 01:13:10 +02:00
test-merge-force.t merge: add more thorough tests for --force 2014-11-26 11:45:21 -08:00
test-merge-internal-tools-pattern.t tests: fix a bunch of pointless #s in unified tests 2010-09-17 17:03:08 -05:00
test-merge-local.t merge: give a special message for internal:merge failure (issue3105) 2011-11-16 18:04:19 -06:00
test-merge-prompt.t ui: show prompt choice if input is not a tty but is forced to be interactive 2014-10-01 01:04:18 +02:00
test-merge-remove.t debugdirstate: don't hide date field with --nodate, just show 'set'/'unset' 2015-01-09 18:38:02 +01:00
test-merge-revert2.t merge: drop the quotes around commit description 2014-05-26 11:44:58 -07:00
test-merge-revert.t tests: remove exec bit from .t files 2010-09-14 16:03:10 +02:00
test-merge-subrepos.t merge: standardize error message for dirty subrepo 2013-09-23 20:53:14 -07:00
test-merge-symlinks.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-merge-tools.t revert: apply normallookup on reverted file if size isn't changed (issue4583) 2015-04-24 23:52:41 +09:00
test-merge-types.t filemerge: switch the default name for internal tools from internal:x to :x 2014-09-28 17:15:28 +02:00
test-minirst.py minirst: create valid output when table data contains a newline 2014-02-19 17:32:21 +01:00
test-minirst.py.out minirst: create valid output when table data contains a newline 2014-02-19 17:32:21 +01:00
test-module-imports.t crecord: fix mixed imports warning 2015-04-09 23:47:07 -04:00
test-mq-eol.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-mq-git.t tests: write hgrc of more than two lines by using shell heredoc 2014-11-04 23:41:46 +09:00
test-mq-guards.t localrepo: show headline notes in commitctx before showing filenames 2014-04-18 13:33:20 +02:00
test-mq-header-date.t mq: smarter handling of plain headers 2014-11-28 03:09:06 +01:00
test-mq-header-from.t mq: when adding headers in plain mode, separate them from message (issue4453) 2014-11-17 01:48:43 +01:00
test-mq-merge.t mq: write '# Parent ' lines with two spaces like export does (BC) 2014-09-24 01:36:44 +02:00
test-mq-missingfiles.t commands: say "working directory" in full spelling 2015-03-17 21:53:17 +09:00
test-mq-pull-from-bundle.t bundlerepository: get rid of temporary bundle files (issue2478) 2010-11-07 20:18:57 +01:00
test-mq-qclone-http.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-mq-qdelete.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-mq-qdiff.t tests: write hgrc of more than two lines by using shell heredoc 2014-11-04 23:41:46 +09:00
test-mq-qfold.t tests: write hgrc of more than two lines by using shell heredoc 2014-11-04 23:41:46 +09:00
test-mq-qgoto.t mq: fix qpop of working directory parent patch when not at qtip 2013-01-15 01:05:12 +01:00
test-mq-qimport-fail-cleanup.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-mq-qimport.t tests: write hgrc of more than two lines by using shell heredoc 2014-11-04 23:41:46 +09:00
test-mq-qnew.t mq: write '# Parent ' lines with two spaces like export does (BC) 2014-09-24 01:36:44 +02:00
test-mq-qpush-exact.t commands: say "working directory" in full spelling 2015-03-17 21:53:17 +09:00
test-mq-qpush-fail.t localrepo: use changelog.hasnode instead of self.__contains__ 2015-05-07 12:07:10 +09:00
test-mq-qqueue.t mq: improve qqueue message with patches applied (issue3036) 2012-10-04 17:00:32 -05:00
test-mq-qrefresh-interactive.t ui: show prompt choice if input is not a tty but is forced to be interactive 2014-10-01 01:04:18 +02:00
test-mq-qrefresh-replace-log-message.t tests: cat error messages are different on Solaris 2014-07-21 11:27:24 -07:00
test-mq-qrefresh.t mq: write '# Parent ' lines with two spaces like export does (BC) 2014-09-24 01:36:44 +02:00
test-mq-qrename.t rename: properly report removed and added file as modified (issue4458) 2014-11-24 18:42:56 -08:00
test-mq-qsave.t tests: unify some of test-mq* 2010-09-19 23:42:18 +02:00
test-mq-safety.t tests: don't load unnecessary graphlog extension 2013-11-22 19:14:17 +01:00
test-mq-subrepo-svn.t subrepo: add bailifchanged to centralize raising Abort if subrepo is dirty 2015-03-25 13:55:35 +09:00
test-mq-subrepo.t record: edit patch of newly added files (issue4304) 2015-04-23 14:27:26 -07:00
test-mq-symlinks.t localrepo: show headline notes in commitctx before showing filenames 2014-04-18 13:33:20 +02:00
test-mq.t tags: explicitly log which tags cache file is being written 2015-04-16 11:59:36 -04:00
test-mv-cp-st-diff.t filectx.parents: enforce changeid of parent to be in own changectx ancestors 2014-12-23 15:30:38 -08:00
test-nested-repo.t test-nested-repo.t: touch another file inside nested repo 2013-04-27 23:49:34 -07:00
test-newbranch.t tests: improve test coverage of branch command and existing branches 2014-08-29 12:17:53 +02:00
test-newcgi.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-newercgi.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-no-symlinks.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-notify-changegroup.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-notify.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-obsolete-changeset-exchange.t obsolete: update tests to use obsolete options 2014-10-14 13:34:25 -07:00
test-obsolete-checkheads.t obsolete: update tests to use obsolete options 2014-10-14 13:34:25 -07:00
test-obsolete-divergent.t obsolete: update tests to use obsolete options 2014-10-14 13:34:25 -07:00
test-obsolete-tag-cache.t tags: explicitly log which tags cache file is being written 2015-04-16 11:59:36 -04:00
test-obsolete.t bundlerepo: disable filtering of changelog while constructing revision text 2015-04-29 19:47:37 +09:00
test-oldcgi.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-parents.t tests: fix for windows - slashes and no serve 2013-01-30 19:40:07 +01:00
test-parse-date.t messages: quote "hg help" hints consistently 2015-01-17 22:01:14 -02:00
test-parseindex2.py parsers: fail fast if Python has wrong minor version (issue4110) 2013-12-04 20:38:27 -08:00
test-parseindex2.py.out Add parseindex2.py test case 2008-10-17 01:05:10 +02:00
test-parseindex.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-patch-offset.t localrepo: show headline notes in commitctx before showing filenames 2014-04-18 13:33:20 +02:00
test-patch.t import: simplify status reporting logic (and make it more I18N-friendly) 2011-10-01 21:30:49 -04:00
test-patchbomb.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-pathencode.py tests: remove unused variables from test-pathencode.py caught by pyflakes 2014-04-03 20:35:56 -05:00
test-paths.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-pending.t tests: use double quote to quote arguments in hook for portability 2015-04-23 22:39:21 +09:00
test-permissions.t tests: change some #ifs to #requires 2014-08-06 11:53:08 -05:00
test-phases-exchange.t bundle: when verbose, show what takes up the space in the generated bundle 2014-08-15 19:43:32 +02:00
test-phases.t phases: add killswitch for native implementation 2015-03-30 12:57:55 -07:00
test-profile.t tests: fix test-profile to not depend on HGPROF environment variable 2013-03-12 10:37:48 -07:00
test-progress.t progress: use 'encoding.colwidth' to get column width of items correctly 2014-07-06 02:56:41 +09:00
test-propertycache.py spelling: fixes from spell checker 2014-04-13 19:01:00 +02:00
test-propertycache.py.out repoview: make propertycache.setcache compatible with repoview 2013-09-30 14:36:11 +02:00
test-pull-branch.t check-code: fix check for trailing whitespace on sh command lines 2012-08-08 18:10:16 +02:00
test-pull-http.t config: use the same hgrc for a cloned repo as for an uninitted repo 2014-10-06 16:35:02 -04:00
test-pull-permission.t tests: change some #ifs to #requires 2014-08-06 11:53:08 -05:00
test-pull-pull-corruption.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-pull-r.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-pull-update.t update: improve error message for clean non-linear update 2013-09-23 17:43:33 -07:00
test-pull.t check-code: allow disabling msys path check 2015-03-05 13:21:57 -06:00
test-purge.t purge: add options for deleting only files or only directories 2013-11-07 17:24:14 -08:00
test-push-cgi.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-push-hook-lock.t commands: add debuglocks to report/clear lock state 2014-09-26 16:44:11 -05:00
test-push-http.t transaction: introduce a transaction ID, to be available to all hooks 2015-04-15 11:11:54 -04:00
test-push-r.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-push-validation.t tests: fix for windows - slashes and no serve 2013-01-30 19:40:07 +01:00
test-push-warn.t commands.push: abort when revisions evaluate to empty set (BC) 2015-03-23 18:21:01 -07:00
test-qrecord.t ui: show prompt choice if input is not a tty but is forced to be interactive 2014-10-01 01:04:18 +02:00
test-rebase-abort.t bundles: do not overwrite existing backup bundles (BC) 2015-01-09 10:52:14 -08:00
test-rebase-bookmarks.t bundles: do not overwrite existing backup bundles (BC) 2015-01-09 10:52:14 -08:00
test-rebase-cache.t bundles: do not overwrite existing backup bundles (BC) 2015-01-09 10:52:14 -08:00
test-rebase-check-restore.t bundles: do not overwrite existing backup bundles (BC) 2015-01-09 10:52:14 -08:00
test-rebase-collapse.t bundles: do not overwrite existing backup bundles (BC) 2015-01-09 10:52:14 -08:00
test-rebase-conflicts.t revbranchcache: write cache even during read operations 2015-02-24 18:43:31 -08:00
test-rebase-detach.t bundles: do not overwrite existing backup bundles (BC) 2015-01-09 10:52:14 -08:00
test-rebase-interruptions.t rebase: show more useful status information while rebasing 2014-12-09 03:45:26 +01:00
test-rebase-issue-noparam-single-rev.t bundles: do not overwrite existing backup bundles (BC) 2015-01-09 10:52:14 -08:00
test-rebase-mq-skip.t bundles: do not overwrite existing backup bundles (BC) 2015-01-09 10:52:14 -08:00
test-rebase-mq.t bundles: do not overwrite existing backup bundles (BC) 2015-01-09 10:52:14 -08:00
test-rebase-named-branches.t log: display closing-branch nodes as "_" (BC) 2014-11-24 16:42:49 -05:00
test-rebase-newancestor.t bundles: do not overwrite existing backup bundles (BC) 2015-01-09 10:52:14 -08:00
test-rebase-obsolete.t rebase: ensure rebase revision remains visible (issue4504) 2015-01-27 12:33:56 +00:00
test-rebase-parameters.t messages: quote "hg help" hints consistently 2015-01-17 22:01:14 -02:00
test-rebase-pull.t repair: setup hookargs when processing bundle2s 2015-02-20 13:55:01 -08:00
test-rebase-rename.t bundles: do not overwrite existing backup bundles (BC) 2015-01-09 10:52:14 -08:00
test-rebase-scenario-global.t messages: quote "hg help" hints consistently 2015-01-17 22:01:14 -02:00
test-rebuildstate.t debugdirstate: don't hide date field with --nodate, just show 'set'/'unset' 2015-01-09 18:38:02 +01:00
test-record.t tests: adjust expected prompt choice outputs in test-record.t for Windows 2014-10-20 22:08:08 +09:00
test-relink.t revlog: store fulltext when compressed delta is bigger than it 2014-11-11 21:41:12 -08:00
test-remove.t tests: do not skip code-checking on some whole files 2013-07-01 06:50:58 +02:00
test-rename-after-merge.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-rename-dir-merge.t merge: don't overwrite untracked file at directory rename target 2014-12-12 23:18:36 -08:00
test-rename-merge1.t merge: don't report progress for dr/rd actions 2014-12-05 16:13:26 -08:00
test-rename-merge2.t windows: make shellquote() quote any path containing '\' (issue4629) 2015-04-29 21:14:59 -04:00
test-rename.t largefiles: use the core file copy logic to validate the destination path 2015-01-31 00:13:29 -05:00
test-repair-strip.t tests: change some #ifs to #requires 2014-08-06 11:53:08 -05:00
test-requires.t repo: rephrase the "missing requirement" error message 2014-03-19 00:18:30 +01:00
test-resolve.t resolve: port to generic templater 2015-02-11 13:59:13 +09:00
test-revert-flags.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-revert-interactive.t revert: do not requires '--all' if '--interative' is present 2015-04-11 12:26:54 -04:00
test-revert-unknown.t tests: remove unneeded -d flags 2010-09-02 23:22:51 +02:00
test-revert.t revert: accept just -I/-X without paths or -a/-i (issue4592) 2015-04-22 16:38:36 -07:00
test-revlog-ancestry.py revlog.ancestors: add support for including revs 2012-12-17 15:13:51 -08:00
test-revlog-ancestry.py.out revlog.ancestors: add support for including revs 2012-12-17 15:13:51 -08:00
test-revlog-group-emptyiter.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-revlog-packentry.t revlog: store fulltext when compressed delta is bigger than it 2014-11-11 21:41:12 -08:00
test-revset-dirstate-parents.t debugrevspec: show nesting structure of smartsets if verbose 2015-03-16 18:36:53 +09:00
test-revset-outgoing.t tests: add "(glob)" to paths in test-revset-outgoing.t for Windows 2014-10-20 22:08:08 +09:00
test-revset.t tests: make tests with temporary environment setting portable 2015-05-02 00:15:03 +09:00
test-rollback.t tests: fixup issue markers to make check-commit happy 2014-08-15 10:47:03 -05:00
test-run-tests.py run-tests: make linematch a static method of TTest 2014-04-19 16:11:49 -07:00
test-run-tests.t merge with stable 2015-05-10 14:45:13 -05:00
test-schemes.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-serve.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-setdiscovery.t setdiscovery: always add exponential sample to the heads 2015-01-07 17:28:51 -08:00
test-share.t share: add option to share bookmarks 2014-12-13 11:32:46 -08:00
test-shelve.t shelve: make the interactive mode experimental 2015-04-27 15:36:10 -07:00
test-simple-update.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-simplemerge.py simplemerge: burn "minimal" feature to the ground 2014-08-05 14:56:25 -07:00
test-simplemerge.py.out simplemerge: burn "minimal" feature to the ground 2014-08-05 14:56:25 -07:00
test-ssh-clone-r.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-ssh.t transaction: introduce a transaction ID, to be available to all hooks 2015-04-15 11:11:54 -04:00
test-static-http.t transaction: introduce a transaction ID, to be available to all hooks 2015-04-15 11:11:54 -04:00
test-status-color.t resolve: port to generic templater 2015-02-11 13:59:13 +09:00
test-status-inprocess.py pylint, pyflakes: remove unused or duplicate imports 2010-04-14 17:58:10 +09:00
test-status-inprocess.py.out add a test for the inprocess status dirstate race 2010-04-05 20:10:46 +02:00
test-status-rev.t status: don't list files as both clean and deleted 2015-01-05 17:12:04 -08:00
test-status.t commands: add ui.statuscopies config knob 2015-03-24 21:25:57 +01:00
test-strict.t merge: be precise about what merged into what in short desc 2014-11-26 17:22:09 +03:00
test-strip-cross.t tests: don't load unnecessary graphlog extension 2013-11-22 19:14:17 +01:00
test-strip.t strip: properly clear resolve state with --keep (issue4593) 2015-04-13 07:42:25 -05:00
test-subrepo-deep-nested-change.t archive: drop the leading '.' path component from the prefix (issue4634) 2015-05-05 20:52:38 -04:00
test-subrepo-git.t test-subrepo-git: ignore pax_global_header when listing archive 2015-05-07 16:43:58 -07:00
test-subrepo-missing.t subrepo: precisely identify the missing subrepo spec file 2015-04-05 15:08:55 -04:00
test-subrepo-paths.t check-code: do not warn on printf \\x or \\[1-9] 2013-07-01 06:50:58 +02:00
test-subrepo-recursion.t test-subrepo-recursion: glob out all the date listed by unzip -l 2015-05-07 14:57:02 -07:00
test-subrepo-relative-path.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-subrepo-svn.t subrepo: don't abort in add when non-hg subrepos are present (issue4513) 2015-01-27 20:57:43 -05:00
test-subrepo.t subrepo: don't pass the outer repo's --rev or --branch to subrepo incoming() 2015-04-27 21:34:23 -04:00
test-symlink-os-yes-fs-no.py test-symlink-os-yes-fs-no.py: clean up use of two-argument raise 2013-01-01 13:21:15 -06:00
test-symlink-os-yes-fs-no.py.out dirstate: ignore symlinks when fs cannot handle them (issue1888) 2010-08-09 15:31:56 +02:00
test-symlink-placeholder.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-symlinks.t add: use lexists so that broken symbolic links are added 2014-12-03 14:33:29 -08:00
test-tag.t tests: invoke hg command indirectly from shell script to run on Windows 2015-01-22 00:08:13 +09:00
test-tags.t tags: do not abort if failed to write lock file to save cache 2015-04-17 23:22:58 +09:00
test-template-engine.t templatekw: merge, preferring the second implementation 2012-08-14 08:11:15 -07:00
test-tools.t test-tools: portability tweak 2015-01-25 20:13:54 -06:00
test-transplant.t transplant: properly skip empty changeset (issue4423) 2015-01-08 21:36:12 -08:00
test-treediscovery-legacy.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-treediscovery.t discovery: properly exclude locally known but filtered heads 2015-01-30 21:11:02 +00:00
test-trusted.py check-code: check for spaces around = for named parameters 2013-10-03 14:50:47 +02:00
test-trusted.py.out ui: lowercase "not trusting file" warning message 2012-06-12 14:18:18 +02:00
test-ui-color.py cleanup: remove unused imports 2013-06-13 01:36:58 +02:00
test-ui-color.py.out color: check if ui is already a subclass of colorui before wrapping it 2011-06-02 00:43:34 +03:00
test-ui-config.py ui: add configint function and tests 2011-05-03 22:28:08 +02:00
test-ui-config.py.out ui: add configint function and tests 2011-05-03 22:28:08 +02:00
test-ui-verbosity.py *: kill all unnecessary shebangs. 2010-10-26 12:18:39 +02:00
test-ui-verbosity.py.out tests: renamed Python tests to .py 2009-05-17 01:39:31 +02:00
test-unbundlehash.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-unified-test.t heredoctest: do not append extra newline character to continuation line 2014-09-28 15:13:35 +09:00
test-unionrepo.t tests: fix unionrepo path issue on msys (issue3927) 2013-05-09 15:01:11 -05:00
test-unrelated-pull.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-up-local-change.t windows: make shellquote() quote any path containing '\' (issue4629) 2015-04-29 21:14:59 -04:00
test-update-branches.t update: replace workingctx.dirty and raising Abort by cmdutil.bailifchanged 2015-03-25 13:55:35 +09:00
test-update-issue1456.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-update-renames.t tests: cleanup of tests that ended up outside $TESTTMP 2012-06-11 01:08:39 +02:00
test-update-reverse.t merge: change debug logging - test output changes but no real changes 2014-04-22 02:10:25 +02:00
test-url-rev.t tests: add "(glob)" to paths in test-url-rev.t for Windows 2014-10-20 22:08:08 +09:00
test-url.py test-url: move from dict() construction to {} literals 2014-03-12 13:21:17 -04:00
test-username-newline.t tests: drop final true command from unified tests 2010-09-20 16:00:15 -05:00
test-verify.t verify: do not choke on valid changelog without manifest 2012-08-21 20:51:16 +02:00
test-walk.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-walkrepo.py tests: fix a typo in test-walkrepos.py 2014-12-10 23:46:47 -05:00
test-websub.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-win32text.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-wireproto.py test-wireproto: move from dict() construction to {} literals 2014-03-12 13:21:30 -04:00
test-wireproto.py.out test-wireprotocol.py: rename to test-wireproto.py for consistency 2011-06-29 13:04:00 +02:00
test-wireproto.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
tinyproxy.py tests: fix toctou race in tinyproxy.py (issue3795) 2013-01-31 19:13:13 +01:00

To run the tests, do:

cd tests/
python run-tests.py

See http://mercurial.selenic.com/wiki/WritingTests for
more information on writing tests.