sapling/tests
Jun Wu 3f639e27a5 rebase: calculate ancestors for --base separately (issue5420)
Previously, the --base option only works with a single "branch" - if there
is one changeset in the "--base" revset whose branching point(s) is/are
different from another changeset in the "--base" revset, "rebase" will error
out with:

  abort: source is ancestor of destination

This happens if the user has multiple draft branches, and uses "hg rebase -b
'draft()' -d master", for example. The error message looks cryptic to users
who don't know the implementation detail.

This patch changes the logic to calculate the common ancestor for every
"base" changeset separately so we won't (incorrectly) select "source" which
is an ancestor of the destination.

This patch should not change the behavior where all changesets specified by
"--base" have the same branching point(s).

A new situation is: some of the specified changesets could be rebased, while
some couldn't (because they are descendants of the destination, or they do
not share a common ancestor with the destination). The current behavior is
to show "nothing to rebase" and exits with 1.

This patch maintains the current behavior (show "nothing to rebase") even if
part of the "--base" revset could be rebased. A clearer error message may be
"cannot find branching point for X", or "X is a descendant of destination".
The error message issue is tracked by issue5422 separately.

A test is added with all kinds of tricky cases I could think of for now.
2016-11-28 05:45:22 +00:00
..
blacklists fsmonitor: new experimental extension 2016-03-03 14:29:19 +00: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
sslcerts tests: update test certificate generation instructions 2016-07-17 11:28:01 -07:00
svn tests: add execute bit and fix shbang line 2015-12-22 11:05:05 +00:00
autodiff.py error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
binfile.bin Add test for git binary diff support 2006-10-12 09:17:16 -07:00
blackbox-readonly-dispatch.py tests: divorce blackbox test from test-dispatch.py 2016-03-08 20:52:57 +00:00
bzr-definitions tests: move '#require bzr' into .t files 2015-08-22 10:22:12 -07:00
cgienv tests: remove duplication of the CGI environment variables 2011-01-16 19:12:54 +08:00
check-gendoc tests: splitting test-gendoc.t into per file tests 2016-01-06 20:45:50 +00:00
check-perf-code.py perf: replace ui.configint() by getint() for Mercurial earlier than 1.9 2016-10-09 01:03:19 +09:00
drawdag.py drawdag: update test repos by drawing the changelog DAG in ASCII 2016-11-09 16:01:34 +00:00
dumbhttp.py server: move cmdutil.service() to new module (API) 2016-10-15 13:47:43 +09:00
dummysmtpd.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
dummyssh py3: make tests/dummyssh use absolute_import 2016-05-13 03:26:28 +05:30
f tests: make 'f' utility import hashlib unconditionally 2016-05-15 10:45:32 +09:00
failfilemerge.py merge: use labels in prompts to the user 2016-08-12 06:01:42 -07:00
fakedirstatewritetime.py dirstate: make writing in-memory changes aware of transaction activity 2015-10-14 02:49:17 +09:00
fakemergerecord.py fakemergerecord: take wlock to write the merge state 2016-08-08 17:33:45 +02:00
fakepatchtime.py tests/fakepatchtime.py: use absolute_import 2015-12-06 22:14:39 -08:00
filterpyflakes.py py3: use print_function in filterpyflakes.py 2016-04-02 17:35:02 +03:00
generate-working-copy-states.py py3: use print_function in generate-working-copy-states.py 2016-04-02 17:36:59 +03:00
get-with-headers.py py3: conditionalize httplib import 2016-06-28 16:01:53 +05:30
helper-runtests.sh tests: refactor run-tests helpers 2016-05-11 16:40:16 +00:00
helpers-testrepo.sh tests: silence test-repo obsolete warning 2016-05-11 04:49:27 +00:00
heredoctest.py py3: make files use absolute_import and print_function 2016-07-03 22:28:24 +05:30
hghave hghave: silence future pyflakes warning of unused import 2016-05-15 10:40:26 +09:00
hghave.py hghave: fix 'rmcwd' to ensure temporary directory is removed 2016-11-01 21:14:33 +09:00
hgterm.ti tests: hardcode terminfo entry for the terminfo color test 2011-06-27 11:36:40 -07:00
hgweberror.py tests: use absolute_import in hgweberror.py 2015-12-06 22:27:53 -08:00
histedit-helpers.sh tests: histedit-helpers fixbundle should not complain about no input 2015-12-14 22:21:30 +00:00
hypothesishelpers.py py3: use print_function in hypothesishelpers.py 2016-04-02 18:15:04 +03:00
killdaemons.py killdaemons: prevent killing all user processes by bad pid file 2016-08-18 18:43:48 +09:00
lockdelay.py pull: grab wlock during pull 2016-08-23 23:47:59 +02:00
md5sum.py py3: make files use absolute_import and print_function 2016-07-03 22:28:24 +05:30
missing-comment.hg histedit: new extension for interactive history editing 2012-06-27 17:52:54 -05:00
mockblackbox.py py3: use absolute_import in mockblackbox.py 2016-04-16 05:30:32 +03:00
notcapable peer: introduce real peer classes 2012-07-13 21:47:06 +02:00
pdiff tests: Solaris cmp complains about empty files, even with -s 2016-03-02 14:58:29 -08:00
printenv.py py3: use absolute_import in printenv.py 2016-04-16 05:32:10 +03:00
readlink.py py3: make files use absolute_import and print_function 2016-07-03 22:28:24 +05:30
README urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
revlog-formatv0.py py3: use absolute_import in revlog-formatv0.py 2016-04-16 05:33:23 +03:00
run-tests.py run-tests: make --local set --with-chg if --chg is used 2016-07-18 08:55:30 +01:00
seq.py py3: use print_function in seq.py 2016-04-02 17:29:38 +03:00
silenttestrunner.py tests: lexicographical imports in silenttestrunner.py 2016-04-03 10:02:58 +03:00
sitecustomize.py tests: update sitecustomize to use uuid1() instead of randrange() 2016-11-21 17:51:39 -05:00
svn-safe-append.py py3: make tests/svn-safe-append.py use absolute_import 2016-05-16 04:31:20 +05:30
svnxml.py py3: use absolute_import in svnxml.py 2016-04-16 06:03:11 +03:00
test-abort-checkin.t error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
test-acl.t changegroup: skip delta when the underlying revlog do not use them 2016-10-14 01:31:11 +02:00
test-add.t simplemerge: move conflict warning message to filemerge 2015-10-09 13:54:52 -07:00
test-addremove-similar.t tests: test-addremove-similar.t use print() for py3 2016-05-06 01:15:07 +00:00
test-addremove.t spelling: fixes from proofreading of spell checker issues 2015-01-18 02:38:57 +01:00
test-alias.t help: use single quotes in use warning 2016-09-20 23:47:46 +00:00
test-ancestor.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-ancestor.py.out test-ancestor: use random testing for missing ancestors 2014-11-15 10:55:34 -08:00
test-annotate.t annotate: pre-calculate the "needed" dictionary (issue5360) 2016-09-02 15:20:59 +01:00
test-archive-symlinks.t tests: guard test-archive-symlink with unziplinks check 2016-08-25 01:26:39 -04:00
test-archive.t tests: glob whitespace between path and OK in unzip(1) output 2016-07-15 12:49:58 -04:00
test-atomictempfile.py atomictempfile: add context manager support 2016-06-23 18:21:25 +01:00
test-audit-path.t context: use a the nofsauditor when matching file in history (issue4749) 2015-12-03 13:23:46 -08:00
test-automv.t test-automv: fix inline config settings for 82d66222a945 2016-02-22 17:53:19 -05:00
test-backout.t backout: disable --merge with --no-commit (issue4874) 2016-01-30 18:00:11 +09:00
test-backwards-remove.t tests: remove unneeded -d flags 2010-09-02 23:22:51 +02:00
test-bad-extension.t extensions: fix a debug message when searching for extensions 2016-09-30 00:25:15 +02:00
test-bad-pull.t tests: relax "Connection refused" match 2016-07-12 11:20:30 -04:00
test-basic.t ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-batching.py test-batching: stop direct symbol import of mercurial modules 2016-04-05 23:10:13 +09:00
test-batching.py.out wireproto: add basic command batching infrastructure 2011-06-14 22:51:26 +02:00
test-bdiff.py bdiff: deal better with duplicate lines 2016-04-21 21:05:26 -05:00
test-bdiff.py.out bdiff: early pruning of common prefix before doing expensive computations 2016-11-16 19:45:35 +01:00
test-bheads.t branch: don't warn about branches if repository has multiple branches already 2015-05-22 17:08:59 -05:00
test-bisect2.t update: warn about other topological heads on bare update 2016-02-02 14:49:02 +00:00
test-bisect3.t map-cmdline.bisect: rewrite to just %include the default template 2015-05-10 13:48:10 -04:00
test-bisect.t ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-blackbox.t blackbox: also log alias expansions 2016-08-23 16:40:08 -04:00
test-bookmarks-current.t update: omit redundant activating message for already active bookmark 2016-03-12 04:35:42 +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 discovery: use single quotes in use warning 2016-09-20 23:47:30 +00:00
test-bookmarks-rebase.t simplemerge: move conflict warning message to filemerge 2015-10-09 13:54:52 -07:00
test-bookmarks-strip.t bookmarks: change bookmark within a transaction 2014-09-28 00:49:36 -07:00
test-bookmarks.t tests: replace "cp -r" with "cp -R" 2016-11-30 19:25:18 +00:00
test-branch-option.t branch: don't warn about branches if repository has multiple branches already 2015-05-22 17:08:59 -05:00
test-branch-tag-confict.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-branches.t rbc: fix superfluous rebuilding from scratch - don't abuse self._rbcnamescount 2016-07-18 22:25:09 +02:00
test-bugzilla.t tests: add globs for Windows 2016-05-05 21:14:12 -04:00
test-bundle2-exchange.t exchange: correctly specify url to unbundle (issue5145) 2016-08-05 16:25:15 -04:00
test-bundle2-format.t outgoing: pass a repo object to the constructor 2016-08-09 15:26:53 +02:00
test-bundle2-multiple-changegroups.t getchangegroup: take an 'outgoing' object as argument (API) 2016-08-09 17:00:38 +02:00
test-bundle2-pushback.t tests: remove initial bundle2 enabling in various bundle2 tests 2016-08-02 14:54:06 +02:00
test-bundle2-remote-changegroup.t getchangegroup: take an 'outgoing' object as argument (API) 2016-08-09 17:00:38 +02:00
test-bundle-r.t bundle: warn for --base with --all 2015-12-17 15:05:25 +00:00
test-bundle-type.t bundle: use single quotes in use warning 2016-09-20 23:46:15 +00:00
test-bundle-vs-outgoing.t tests: don't load unnecessary graphlog extension 2013-11-22 19:14:17 +01:00
test-bundle.t tests: use "?" to glob both ":" and ";" in output for test portability 2016-10-29 03:04:54 +09:00
test-cache-abuse.t test-cache-abuse: correct for different hunk headers between Solaris and GNU 2016-05-27 11:14:29 -07:00
test-casecollision-merge.t merge: abort on file/directory case folding collisions (issue4892) 2015-10-13 00:16:25 +02:00
test-casecollision.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-casefolding.t tests: fix test-casefolding.t 2016-10-21 16:31:16 +01:00
test-cat.t cat: disable optimization of single file case for workingctx 2015-04-05 13:16:46 +09:00
test-censor.t censor: make various path forms available like other Mercurial commands 2015-07-17 00:22:16 +09:00
test-changelog-exec.t commit: catch changed exec bit on files from p1 (issue4382) 2014-09-21 10:07:06 -05:00
test-check-code.t debugcommands: sort command order 2016-11-25 09:59:39 -08:00
test-check-commit.t tests: silence test-repo obsolete warning 2016-05-11 04:49:27 +00:00
test-check-config.t tests: silence test-repo obsolete warning 2016-05-11 04:49:27 +00:00
test-check-execute.t tests: silence test-repo obsolete warning 2016-05-11 04:49:27 +00:00
test-check-module-imports.t largefiles: move basestore._openstore into new module to remove cycle 2016-06-04 16:53:44 +02:00
test-check-py3-commands.t py3: avoid use of basestring 2016-11-30 23:51:11 +05:30
test-check-py3-compat.t py3: use pycompat.sysstr() in __import__() 2016-12-01 13:12:04 +05:30
test-check-pyflakes.t zstd: vendor python-zstandard 0.5.0 2016-11-10 22:15:58 -08:00
test-check-shbang.t test-check-shbang: work around check-code not wanting hardcoded paths 2016-07-12 15:32:24 -04:00
test-chg.t tests: move chg pager test to test-pager.t 2016-06-13 13:16:17 +01:00
test-children.t children: don't pass filectx to displayer 2015-03-26 23:56:18 +09:00
test-churn.t spelling: trivial spell checking 2015-10-17 00:58:46 +02: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 clone: fix updaterev to update to latest branch changeset (issue4528) 2015-08-30 11:47:43 +02:00
test-clone-uncompressed.t bundle2: properly request phases during getbundle 2016-05-05 20:57:38 +09:00
test-clone-update-order.t branch: don't warn about branches if repository has multiple branches already 2015-05-22 17:08:59 -05:00
test-clone.t posix: give the cached symlink a real target 2016-11-30 16:39:36 +00:00
test-clonebundles.t changegroup: skip delta when the underlying revlog do not use them 2016-10-14 01:31:11 +02:00
test-command-template.t tests: use basic format code "%Y" instead of "%s" for test portability 2016-10-30 06:15:07 +09:00
test-commandserver.t help: use single quotes in use warning 2016-09-20 23:47:46 +00:00
test-commit-amend.t tests: test preserving execbit changes at amending only on execbit platform 2016-10-30 06:15:09 +09:00
test-commit-interactive-curses.t ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-commit-interactive.t commit: return 1 for interactive commit with no changes (issue5397) 2016-10-14 09:52:38 +02:00
test-commit-multiple.t ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-commit-unresolved.t localrepo: use single quotes in use warning 2016-09-20 23:48:08 +00:00
test-commit.t ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-committer.t config: use single quotes around command hint 2016-04-14 15:18:59 +00:00
test-completion.t config: add template support 2016-08-29 07:07:15 +02:00
test-config.t config: add template support 2016-08-29 07:07:15 +02:00
test-conflict.t conflicts: make spacing consistent in conflict markers 2016-11-19 15:41:37 -08:00
test-confused-revert.t graft: use single quotes around command hint 2016-04-14 15:19:57 +00:00
test-context.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-context.py.out status: update various other methods to return new class 2014-10-14 00:52:27 -05:00
test-contrib-check-code.t check-code: build translation table for repquote in global for efficiency 2016-06-21 00:50:39 +09:00
test-contrib-check-commit.t check-commit: try to fix multiline handling 2016-01-12 08:50:15 +00:00
test-contrib-perf.t perf: add command for measuring revlog chunk operations 2016-11-17 20:17:51 -08:00
test-contrib.t simplemerge: move conflict warning message to filemerge 2015-10-09 13:54:52 -07: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: move '#require bzr' into .t files 2015-08-22 10:22:12 -07:00
test-convert-bzr-directories.t tests: move '#require bzr' into .t files 2015-08-22 10:22:12 -07:00
test-convert-bzr-ghosts.t tests: move '#require bzr' into .t files 2015-08-22 10:22:12 -07:00
test-convert-bzr-merges.t tests: move '#require bzr' into .t files 2015-08-22 10:22:12 -07:00
test-convert-bzr-treeroot.t tests: move '#require bzr' into .t files 2015-08-22 10:22:12 -07:00
test-convert-bzr.t tests: move '#require bzr' into .t files 2015-08-22 10:22:12 -07:00
test-convert-clonebranches.t branch: don't warn about branches if repository has multiple branches already 2015-05-22 17:08:59 -05:00
test-convert-cvs-branch.t urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05: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 test-convert-cvs: add sleep so cvs notices changes 2015-10-12 15:42:32 +03: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: silence output of darcs command 2016-11-05 13:16:40 +09:00
test-convert-datesort.t branch: don't warn about branches if repository has multiple branches already 2015-05-22 17:08:59 -05:00
test-convert-filemap.t convert: test clean p2 file missing 2015-10-24 01:54:46 +02:00
test-convert-git.t convert: pass absolute paths to git (SEC) 2016-04-06 22:57:46 -05:00
test-convert-hg-sink.t graphmod: set default edge styles for ascii graphs (BC) 2016-03-23 13:34:47 -07:00
test-convert-hg-source.t convert: fix bug with converting the same commit twice 2015-06-29 13:39:05 -07:00
test-convert-hg-startrev.t convert: keep converted hg parents that are outside convert.hg.revs (BC) 2016-04-13 00:16:21 +02:00
test-convert-hg-svn.t tests: make tests for convert with svn portable 2016-03-15 00:14:53 +09:00
test-convert-mtn.t destutil: make messages at updating to the closed head usual form 2016-03-29 23:59:32 +09:00
test-convert-p4-filetypes.t tests: fix for failure of test-convert-p4-filetypes.t 2016-03-26 12:55:52 +09: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 convert: fix Python syntax in 'splice in' message 2015-10-19 16:49:54 +02:00
test-convert-svn-branches.t convert: use 'default' for specifying branch name in branchmap (issue4753) 2015-07-14 14:40:56 +01:00
test-convert-svn-encoding.t convert: specify unit for ui.progress when scanning paths 2016-03-11 22:30:04 +08:00
test-convert-svn-move.t tests: remove lines that enable progress extension 2016-03-20 04:54:35 +00:00
test-convert-svn-sink.t simplemerge: move conflict warning message to filemerge 2015-10-09 13:54:52 -07:00
test-convert-svn-source.t tests: make tests for convert with svn portable 2016-03-15 00:14:53 +09: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 convert: add config to not convert tags 2015-06-29 13:40:20 -07:00
test-convert-tla.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-convert.t help: backout 6f89f03ad369 (mark boolean flags with [no-] in help) for now 2016-10-09 03:11:18 +02:00
test-copy-move-merge.t merge: always use other, not remote, in user prompts 2016-08-12 05:56:40 -07:00
test-copy.t copy: distinguish "file exists" cases and add a hint (BC) 2016-09-19 17:15:39 -04:00
test-ctxmanager.py test-ctxmanager: stop direct symbol import of mercurial.util 2016-04-05 23:13:52 +09:00
test-custom-filters.t error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
test-debian-packages.t tests: silence test-repo obsolete warning 2016-05-11 04:49:27 +00:00
test-debugbuilddag.t progress: stop double-wrapping of ui class 2015-06-07 18:11:23 -07:00
test-debugbundle.t changegroup: skip delta when the underlying revlog do not use them 2016-10-14 01:31:11 +02:00
test-debugcommands.t commands: print chunk type in debugrevlog 2016-11-17 20:30:00 -08:00
test-debugextensions.t debugextensions: show ships-with-hg-core state as a separate field 2016-08-31 23:22:07 +09: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 push: update help hint to point to config.paths section 2016-09-20 20:12:38 +00:00
test-demandimport.py demandimport: error out early on missing attribute of non package (issue5373) 2016-09-26 23:28:57 +09:00
test-demandimport.py.out demandimport: error out early on missing attribute of non package (issue5373) 2016-09-26 23:28:57 +09:00
test-devel-warnings.t localrepo: use ProgrammingError 2016-12-06 17:06:39 +00:00
test-diff-binary-file.t patch: disable nobinary when HGPLAIN=1 2015-12-17 11:00:06 -08:00
test-diff-change.t revpair: do not optimize tree to check for odd-range spec 2016-08-06 20:46:53 +09:00
test-diff-color.t record: turn on showfunc 2015-12-17 14:38:22 +00: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 diffopts: notice a negated boolean flag in diffopts 2016-08-30 15:55:07 -04:00
test-diff-upgrade.t tests: use $PYTHON instead of hardcoding python 2014-10-15 15:35:59 -04:00
test-diffdir.t diff: don't crash when merged-in addition is copied 2016-01-14 10:22:55 -08: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-nonnormalset.t dirstate: add test for non-normal set consistency 2015-12-21 16:26:44 -08:00
test-dirstate-race.t tests: remove exec bit from .t files 2010-09-14 16:03:10 +02:00
test-dirstate.t error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
test-dispatch.py tests: test-dispatch use print_function 2016-03-08 20:57:40 +00: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: backout 6f89f03ad369 (mark boolean flags with [no-] in help) for now 2016-10-09 03:11:18 +02:00
test-docker-packaging.t test-docker-packaging: add new line to test output 2016-04-16 11:17:06 -07:00
test-doctest.py formatter: add overview of API and example as doctest 2016-10-22 15:02:11 +09:00
test-double-merge.t merge.mergestate: perform all premerges before any merges (BC) 2015-10-11 21:56:39 -07:00
test-duplicateoptions.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09: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 branch: don't warn about branches if repository has multiple branches already 2015-05-22 17:08:59 -05:00
test-encoding-textwrap.t help: tweak --verbose command help hint 2014-08-12 03:01:37 -05:00
test-encoding.t test-encoding: enable fuzz testing of utf8b roundtrip 2015-11-09 22:31:01 +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 eol: make output stable 2015-12-27 23:55:54 +09:00
test-eol-patch.t tests: don't overwrite HGRCPATH 2011-03-01 17:01:17 +01:00
test-eol-tag.t urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05: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 urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05:00
test-excessive-merge.t changelog: disable delta chains 2016-10-13 12:50:27 +02:00
test-execute-bit.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-export.t test-export: be more aggressive about quoting ^ 2016-07-12 15:41:38 -04:00
test-extdiff.t help: backout 6f89f03ad369 (mark boolean flags with [no-] in help) for now 2016-10-09 03:11:18 +02:00
test-extension.t dispatch: stop supporting non-use of @command 2016-11-21 21:51:23 -05:00
test-extensions-wrapfunction.py extensions: add unwrapfunction to undo wrapfunction 2016-08-10 16:27:33 +01:00
test-extensions-wrapfunction.py.out extensions: add unwrapfunction to undo wrapfunction 2016-08-10 16:27:33 +01: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 single quotes around command hint 2016-04-14 15:20:11 +00:00
test-filebranch.t dirstate: use 'm' state in otherparent to reduce ambiguity 2014-10-10 13:31:06 -05:00
test-filecache.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-filecache.py.out scmutil: add file object wrapper class to check ambiguity at closing 2016-09-22 21:51:57 +09:00
test-filelog.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09: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 fileset: add missing() predicate (issue4925) 2015-11-18 20:55:32 +01:00
test-fileset.t registrar: add filesetpredicate to mark a function as fileset predicate 2016-03-11 04:14:54 +09:00
test-flags.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-fncache.t error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
test-gendoc-da.t tests: splitting test-gendoc.t into per file tests 2016-01-06 20:45:50 +00:00
test-gendoc-de.t tests: splitting test-gendoc.t into per file tests 2016-01-06 20:45:50 +00:00
test-gendoc-el.t tests: splitting test-gendoc.t into per file tests 2016-01-06 20:45:50 +00:00
test-gendoc-fr.t tests: splitting test-gendoc.t into per file tests 2016-01-06 20:45:50 +00:00
test-gendoc-it.t tests: splitting test-gendoc.t into per file tests 2016-01-06 20:45:50 +00:00
test-gendoc-ja.t docchecker: try to reject single quotes 2016-01-12 09:30:57 +00:00
test-gendoc-pt_BR.t tests: splitting test-gendoc.t into per file tests 2016-01-06 20:45:50 +00:00
test-gendoc-ro.t tests: splitting test-gendoc.t into per file tests 2016-01-06 20:45:50 +00:00
test-gendoc-ru.t tests: splitting test-gendoc.t into per file tests 2016-01-06 20:45:50 +00:00
test-gendoc-sv.t tests: splitting test-gendoc.t into per file tests 2016-01-06 20:45:50 +00:00
test-gendoc-zh_CN.t tests: splitting test-gendoc.t into per file tests 2016-01-06 20:45:50 +00:00
test-gendoc-zh_TW.t tests: splitting test-gendoc.t into per file tests 2016-01-06 20:45:50 +00:00
test-gendoc.t tests: splitting test-gendoc.t into per file tests 2016-01-06 20:45:50 +00:00
test-generaldelta.t bundle2: store changeset count when creating file bundles 2016-07-17 15:13:51 -07:00
test-getbundle.t exchange: refactor APIs to obtain bundle data (API) 2016-10-16 10:38:52 -07: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 grep: rewrite help to better document current (confusing) behavior 2016-09-23 12:45:10 -05:00
test-glog-topological.t graphlog: preserve topo sort even if additional filter options specified 2016-09-22 20:53:53 +09:00
test-glog.t revset: wrap arguments of 'or' by 'list' node 2016-08-07 17:04:05 +09:00
test-gpg.t test-gpg: start gpg-agent by gpg-connect-agent only if GnuPG v2.1+ detected 2016-08-29 22:59:39 +09:00
test-graft.t merge: avoid superfluous filemerges when grafting through renames (issue5407) 2016-10-25 21:01:53 +02:00
test-grep.t grep: add formatter support 2016-08-18 15:13:56 +09:00
test-hardlinks.t posix: give the cached symlink a real target 2016-11-30 16:39:36 +00:00
test-help.t chgserver: make it a core module and drop extension flags 2016-10-15 14:30:16 +09:00
test-hg-parseurl.py test-hg-parseurl: stop direct symbol import of mercurial.hg.parseurl 2016-04-05 23:18:52 +09:00
test-hg-parseurl.py.out hg: make parseurl() consistently return normalised path 2011-04-06 12:48:59 +02:00
test-hghave.t run-tests: use $HGTEST_RUN_TESTS_PURE 2015-09-02 15:19:05 -04:00
test-hgignore.t test-hgignore: add globs for Windows 2016-01-12 22:40:40 -05:00
test-hgk.t hgk: don't honor whitespace and format-changing diffopts 2014-11-18 21:38:19 -08:00
test-hgrc.t chgserver: make it a core module and drop extension flags 2016-10-15 14:30:16 +09:00
test-hgweb-auth.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09: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 tests: drop explicit $TESTDIR from executables 2015-06-08 14:44:30 -05:00
test-hgweb-commands.t hgweb: avoid line wrap between revision and annotate-info (issue5398) 2016-10-08 19:32:54 +09:00
test-hgweb-descend-empties.t urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
test-hgweb-diffs.t urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
test-hgweb-empty.t hgweb: generate last change date for an empty atom-bookmarks feed (issue5022) 2016-03-31 15:37:21 +08:00
test-hgweb-filelog.t hgweb: reindent atom/changelogentry.tmpl 2016-06-29 22:48:32 +08:00
test-hgweb-json.t grep: rewrite help to better document current (confusing) behavior 2016-09-23 12:45:10 -05:00
test-hgweb-no-path-info.t tests: add (glob) annotations to output lines with 127.0.0.1 2016-07-09 23:03:45 -04:00
test-hgweb-no-request-uri.t tests: add (glob) annotations to output lines with 127.0.0.1 2016-07-09 23:03:45 -04:00
test-hgweb-non-interactive.t py3: use absolute_import in test-hgweb-non-interactive.t 2016-04-10 21:32:05 +00:00
test-hgweb-raw.t tests: drop explicit $TESTDIR from executables 2015-06-08 14:44:30 -05:00
test-hgweb-removed.t urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
test-hgweb-symrev.t hgweb: add a link on node id in annotate hover-box 2016-07-12 15:09:07 +02:00
test-hgweb.t hgweb: avoid line wrap between revision and annotate-info (issue5398) 2016-10-08 19:32:54 +09:00
test-hgwebdir-paths.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-hgwebdir.t hgweb: expose list of per-repo labels to templates 2016-06-30 18:59:53 -07:00
test-hgwebdirsym.t tests: drop explicit $TESTDIR from executables 2015-06-08 14:44:30 -05:00
test-highlight.t paper: make different blocks of annotated lines have different colors 2016-07-16 14:49:07 +08:00
test-histedit-arguments.t histedit: use single quotes in use warning 2016-09-20 23:45:25 +00:00
test-histedit-base.t histedit: correct output of error when 'base' is from the edit list 2016-08-30 13:13:50 -04:00
test-histedit-bookmark-motion.t histedit: adds hint how to reorder changesets at editor (issue3766) 2016-03-08 21:59:06 +01:00
test-histedit-commute.t histedit: adds hint how to reorder changesets at editor (issue3766) 2016-03-08 21:59:06 +01:00
test-histedit-drop.t histedit: use single quotes in use warning 2016-09-20 23:45:25 +00:00
test-histedit-edit.t tests: ensure that 'hg update' is disabled during histedit (issue3655) 2016-04-11 12:06:18 -07:00
test-histedit-fold-non-commute.t histedit: list action when intervention is required 2015-12-23 08:57:04 +00:00
test-histedit-fold.t histedit: list action when intervention is required 2015-12-23 08:57:04 +00:00
test-histedit-no-change.t histedit: list action when intervention is required 2015-12-23 08:57:04 +00:00
test-histedit-non-commute-abort.t merge: save merge part labels for later reuse 2016-03-19 18:37:10 -07:00
test-histedit-non-commute.t histedit: reword message when a changeset produces no changes 2016-03-02 22:39:03 +00:00
test-histedit-obsolete.t tests: replace "cp -r" with "cp -R" 2016-11-30 19:25:18 +00:00
test-histedit-outgoing.t histedit: use single quotes in use warning 2016-09-20 23:45:25 +00:00
test-hook.t tests: invoke printenv.py via sh -c for test portability 2016-10-29 02:44:45 +09:00
test-http-branchmap.t ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-http-bundle1.t tests: invoke printenv.py via sh -c for test portability 2016-10-29 02:44:45 +09:00
test-http-clone-r.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-http-proxy.t bundle2: properly request phases during getbundle 2016-05-05 20:57:38 +09:00
test-http.t tests: invoke printenv.py via sh -c for test portability 2016-10-29 02:44:45 +09:00
test-https.t tests: invoke printenv.py via sh -c for test portability 2016-10-29 02:44:45 +09:00
test-hybridencode.py py3: use print_function in test-hybridencode.py 2016-04-04 02:58:53 +03:00
test-hybridencode.py.out pathencode: for long paths, strip first 5 chars, not first dir 2015-05-06 15:58:14 -07:00
test-i18n.t test-i18n: always run non gettext tests 2015-09-17 07:31:07 -04:00
test-identify.t urls: bulk-change primary website URLs 2015-09-30 15:43:49 -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 import: report directory-relative paths in error messages (issue5224) 2016-08-26 12:48:20 +02: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 test-import: fix output on Windows 2016-03-15 21:47:43 -04: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 import: abort instead of crashing when copy source does not exist (issue5375) 2016-10-08 05:26:58 -07:00
test-incoming-outgoing.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-inherit-mode.t localrepo: use dirstate savebackup instead of handling dirstate file manually 2016-05-11 14:18:52 -07:00
test-init.t tests: test generaldelta configuration in test-init.t 2015-10-19 15:25:58 +02:00
test-install.t commands: print security protocol support in debuginstall 2016-10-19 15:07:11 -07:00
test-issue522.t urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05:00
test-issue586.t tests: rename regression tests 2016-02-25 16:54:14 +00:00
test-issue612.t urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05:00
test-issue619.t urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05:00
test-issue660.t urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05:00
test-issue672.t merge.mergestate: perform all premerges before any merges (BC) 2015-10-11 21:56:39 -07:00
test-issue842.t urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05:00
test-issue1089.t urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05:00
test-issue1102.t tests: rename regression tests 2016-02-25 16:54:14 +00:00
test-issue1175.t tests: update bugzilla link in test-issue1175.t 2016-08-04 19:51:03 +08:00
test-issue1306.t urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05:00
test-issue1438.t urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05:00
test-issue1502.t urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05:00
test-issue1802.t progress: get the extremely verbose output out of default debug 2015-05-09 23:40:40 -07:00
test-issue1877.t urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05:00
test-issue1993.t tests: rename regression tests 2016-02-25 16:54:14 +00:00
test-issue2137.t urls: bulk-change BTS urls to new location 2015-09-30 15:31:07 -05:00
test-issue3084.t largefiles: for update -C, only update largefiles when necessary 2015-04-15 15:22:16 -04:00
test-issue4074.t bdiff: balance recursion to avoid quadratic behavior (issue4704) 2016-04-21 22:04:11 -05: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-journal-share.t tests: avoid quoting of commit messages for test portability 2016-10-30 06:15:09 +09:00
test-journal.t journal: add dirstate tracking 2016-07-11 13:39:24 +01:00
test-keyword.t conflicts: make spacing consistent in conflict markers 2016-11-19 15:41:37 -08:00
test-known.t tests: drop DAEMON_PIDS from killdaemons calls 2015-06-08 14:55:40 -05:00
test-largefiles-cache.t largefiles: fix support for local largefiles while using share extension 2016-06-07 08:32:33 +02:00
test-largefiles-misc.t graphmod: set default edge styles for ascii graphs (BC) 2016-03-23 13:34:47 -07:00
test-largefiles-small-disk.t util: increase filechunkiter size to 128k 2016-10-14 01:53:15 +02:00
test-largefiles-update.t tests: put temporary file outside the working directory for test portability 2016-10-30 06:15:09 +09:00
test-largefiles-wireproto.t tests: glob whitespace between path and OK in unzip(1) output 2016-07-15 12:49:58 -04:00
test-largefiles.t changegroup: skip delta when the underlying revlog do not use them 2016-10-14 01:31:11 +02:00
test-lfconvert.t merge.mergestate: perform all premerges before any merges (BC) 2015-10-11 21:56:39 -07:00
test-locate.t match: let 'path:.' and 'path:' match everything (issue4687) 2015-06-20 19:59:26 -04:00
test-lock-badness.t lock: show more detail for new-style locks in lock waiting message (issue4752) 2016-08-30 09:25:00 -07:00
test-lock.py localrepo: prevent wlock from being inherited when a transaction is running 2015-10-06 13:19:05 -07:00
test-log.t revset: do not rewrite ':y' to '0:y' (issue5385) 2016-10-01 20:20:11 +09:00
test-logtoprocess.t logtoprocess: new experimental extension 2016-04-05 17:39:59 +01:00
test-lrucachedict.py util: properly implement lrucachedict.get() 2016-08-22 20:30:37 -07:00
test-lrucachedict.py.out lrucachedict: add copy method 2015-12-30 13:10:53 -08:00
test-mac-packages.t osx: explicitly build hg with /usr/bin/python2.7 2016-07-13 10:39:33 -04: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 tests: make test-manifest use absolute_import 2016-04-16 03:08:16 +05:30
test-manifest.t files: add new command unifying locate and manifest functionality 2014-09-12 18:32:46 -05:00
test-manifestv2.t test: use generaldelta in test-manifestv2.t 2015-10-18 18:55:32 +02:00
test-merge1.t update: teach hg to override untracked dir with a tracked file on update 2016-07-01 17:42:55 +02: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 update: change default destination to tipmost descendant (issue4673) (BC) 2016-02-02 15:24:11 +00:00
test-merge6.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-merge7.t conflicts: make spacing consistent in conflict markers 2016-11-19 15:41:37 -08:00
test-merge8.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-merge9.t merge.mergestate: perform all premerges before any merges (BC) 2015-10-11 21:56:39 -07:00
test-merge10.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-merge-changedelete.t conflicts: make spacing consistent in conflict markers 2016-11-19 15:41:37 -08:00
test-merge-closedheads.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-merge-commit.t merge.mergestate: perform all premerges before any merges (BC) 2015-10-11 21:56:39 -07:00
test-merge-criss-cross.t update: change default destination to tipmost descendant (issue4673) (BC) 2016-02-02 15:24:11 +00:00
test-merge-default.t revset: rename and test '_destmerge' 2015-10-15 01:47:28 +01:00
test-merge-force.t conflicts: make spacing consistent in conflict markers 2016-11-19 15:41:37 -08:00
test-merge-internal-tools-pattern.t filemerge: add 'union' merge to internal merge tool 2015-08-16 10:19:00 +02:00
test-merge-local.t merge: avoid superfluous filemerges when grafting through renames (issue5407) 2016-10-25 21:01:53 +02:00
test-merge-remove.t merge: add conflict labels to merge command 2016-10-07 08:51:50 -07:00
test-merge-revert2.t conflicts: make spacing consistent in conflict markers 2016-11-19 15:41:37 -08: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 merge: use original file extension for temporary files 2016-11-23 23:47:38 +01:00
test-merge-types.t conflicts: make spacing consistent in conflict markers 2016-11-19 15:41:37 -08:00
test-minirst.py tests: stop direct symbol import of pprint.pprint in tests-minirst 2016-04-05 23:22:38 +09:00
test-minirst.py.out minirst: change hgrole to use single quotes 2016-01-12 06:03:36 +00:00
test-mq-eol.t mq: consistently use qrefresh 2015-10-14 03:30:27 -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 mq: examine "pushable" of already applied patch correctly 2014-09-12 02:29:19 +09:00
test-mq-header-date.t mq: when adding headers in plain mode, separate them from message (issue4453) 2014-11-17 01:48:43 +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 import: report directory-relative paths in error messages (issue5224) 2016-08-26 12:48:20 +02: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: drop DAEMON_PIDS from killdaemons calls 2015-06-08 14:55:40 -05:00
test-mq-qdelete.t mq: generate patch names from first line of description 2015-03-10 13:19:17 +01: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 mq: consistently use qrefresh 2015-10-14 03:30:27 -04:00
test-mq-qgoto.t mq: consistently use qrefresh 2015-10-14 03:30:27 -04:00
test-mq-qimport-fail-cleanup.t mq: use single quotes in use warning 2016-09-20 23:44:59 +00:00
test-mq-qimport.t mq: use single quotes in use warning 2016-09-20 23:44:59 +00:00
test-mq-qnew.t simplemerge: move conflict warning message to filemerge 2015-10-09 13:54:52 -07:00
test-mq-qpush-exact.t mq: consistently use qrefresh 2015-10-14 03:30:27 -04:00
test-mq-qpush-fail.t mq: consistently use qrefresh 2015-10-14 03:30:27 -04: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 help: backout 6f89f03ad369 (mark boolean flags with [no-] in help) for now 2016-10-09 03:11:18 +02:00
test-mq-qrefresh-replace-log-message.t mq: consistently use qrefresh 2015-10-14 03:30:27 -04:00
test-mq-qrefresh.t mq: consistently use qrefresh 2015-10-14 03:30:27 -04: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 mq: use single quotes in use warning 2016-09-20 23:44:59 +00:00
test-mq-subrepo-svn.t tests: suppress verbose output of svn transaction 2015-09-26 15:20:32 +09:00
test-mq-subrepo.t update: enable copy tracing for backwards and non-linear updates 2016-08-25 22:02:26 +02:00
test-mq-symlinks.t tests: drop explicit $TESTDIR from executables 2015-06-08 14:44:30 -05:00
test-mq.t help: use single quotes in use warning 2016-09-20 23:47:46 +00: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 update: fix bare --clean to work on new branch (issue5003) (BC) 2016-04-05 07:30:01 +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: add globs for Windows 2016-05-05 21:14:12 -04:00
test-obsolete-changeset-exchange.t changegroup: skip delta when the underlying revlog do not use them 2016-10-14 01:31:11 +02:00
test-obsolete-checkheads.t tests: replace "cp -r" with "cp -R" 2016-11-30 19:25:18 +00: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 blackbox: add pid to output 2015-09-07 11:31:44 -07:00
test-obsolete.t test-obsolete: update extension in test to actually work 2016-05-05 15:41:37 +02:00
test-oldcgi.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-pager.t tests: move chg pager test to test-pager.t 2016-06-13 13:16:17 +01:00
test-parents.t tests: fix for windows - slashes and no serve 2013-01-30 19:40:07 +01:00
test-parse-date.t util: use single quotes in use warning 2016-09-20 23:48:30 +00:00
test-parseindex2.py py3: move up symbol imports to enforce import-checker rules 2016-05-14 14:03:12 +09:00
test-parseindex2.py.out Add parseindex2.py test case 2008-10-17 01:05:10 +02:00
test-parseindex.t tests: disable test of buffer overflow in parsers.c if --pure 2015-07-19 15:27:28 +09: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-tls.t sslutil: more robustly detect protocol support 2016-07-18 11:27:27 -07:00
test-patchbomb.t changegroup: skip delta when the underlying revlog do not use them 2016-10-14 01:31:11 +02:00
test-pathencode.py tests: make test-pathencode use absolute_import 2016-04-16 03:04:23 +05:30
test-paths.t zeroconf: forward all arguments passed to ui.configitems() wrapper 2016-02-10 22:53:17 +09: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 changegroup: skip delta when the underlying revlog do not use them 2016-10-14 01:31:11 +02:00
test-phases.t summary: move the parents phase marker to commit line (issue4688) 2015-05-29 22:23:58 +02:00
test-profile.t hgweb: profile HTTP requests 2016-08-14 18:37:24 -07:00
test-progress.t test-progress: disable mocking-time tests on chg 2016-03-20 16:49:56 -07:00
test-propertycache.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-propertycache.py.out repoview: make propertycache.setcache compatible with repoview 2013-09-30 14:36:11 +02:00
test-pull-branch.t update: warn about other topological head in pull and unbundle 2016-02-03 15:12:01 +00:00
test-pull-http.t samplehgrcs: use single quotes in use warning 2016-09-20 23:49:00 +00: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: reorder hg serve commands 2016-03-15 09:51:54 +00:00
test-pull-update.t pull: return 255 value on update failure (issue4948) (BC) 2015-11-15 22:58:28 +01:00
test-pull.t context: don't hex encode all unknown 20 char revision specs (issue4890) 2015-10-09 01:19:37 +02: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 test: enforce bundle1 in 'test-push-cgi.t' 2015-10-20 15:27:56 +02:00
test-push-http-bundle1.t tests: invoke printenv.py via sh -c for test portability 2016-10-29 02:44:45 +09:00
test-push-http.t tests: invoke printenv.py via sh -c for test portability 2016-10-29 02:44:45 +09:00
test-push-warn.t changegroup: skip delta when the underlying revlog do not use them 2016-10-14 01:31:11 +02:00
test-push.t tests: merge 'test-push-hook-lock.t' into 'test-push.t' 2016-11-03 05:12:23 +01:00
test-qrecord.t help: show help for disabled extensions (issue5228) 2016-11-06 06:54:31 +05:30
test-rebase-abort.t merge: save merge part labels for later reuse 2016-03-19 18:37:10 -07:00
test-rebase-base.t rebase: calculate ancestors for --base separately (issue5420) 2016-11-28 05:45:22 +00:00
test-rebase-bookmarks.t rebase: hook afterresolvedstates 2015-12-24 20:41:40 +00:00
test-rebase-cache.t branch: don't warn about branches if repository has multiple branches already 2015-05-22 17:08:59 -05:00
test-rebase-check-restore.t rebase: hook afterresolvedstates 2015-12-24 20:41:40 +00:00
test-rebase-collapse.t conflicts: make spacing consistent in conflict markers 2016-11-19 15:41:37 -08:00
test-rebase-conflicts.t conflicts: make spacing consistent in conflict markers 2016-11-19 15:41:37 -08:00
test-rebase-detach.t rebase: hook afterresolvedstates 2015-12-24 20:41:40 +00:00
test-rebase-interruptions.t rebase: hook afterresolvedstates 2015-12-24 20:41:40 +00: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 changegroup: skip delta when the underlying revlog do not use them 2016-10-14 01:31:11 +02:00
test-rebase-mq.t rebase: hook afterresolvedstates 2015-12-24 20:41:40 +00:00
test-rebase-named-branches.t rebase: avoid losing branch commits with --keepbranch (issue4835) 2015-09-24 17:51:05 -04:00
test-rebase-newancestor.t changegroup: skip delta when the underlying revlog do not use them 2016-10-14 01:31:11 +02:00
test-rebase-obsolete.t rebase: rebase changesets in topo order (issue5370) (BC) 2016-09-17 17:02:56 +10:00
test-rebase-parameters.t rebase: better way to detect non-detaching revisions (issue5044) 2016-02-01 15:41:43 +00:00
test-rebase-pull.t rebase: restrict rebase destination to the pulled set (issue5214) 2016-04-30 18:39:39 +02:00
test-rebase-rename.t graphmod: set default edge styles for ascii graphs (BC) 2016-03-23 13:34:47 -07:00
test-rebase-scenario-global.t tests: run "cwd was removed" test only if cwd can actually be removed 2016-10-26 22:50:06 +09:00
test-rebuildstate.t dirstate: rebuild should update dirstate properly 2016-08-30 15:16:28 -07:00
test-record.t record: return code from underlying commit 2016-10-12 12:22:54 +02:00
test-relink.t progress: get the extremely verbose output out of default debug 2015-05-09 23:40:40 -07:00
test-remove.t remove: specify hg in added warning 2016-09-02 21:46:00 +00:00
test-rename-after-merge.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-rename-dir-merge.t conflicts: make spacing consistent in conflict markers 2016-11-19 15:41:37 -08:00
test-rename-merge1.t merge.mergestate: perform all premerges before any merges (BC) 2015-10-11 21:56:39 -07:00
test-rename-merge2.t merge: add conflict labels to merge command 2016-10-07 08:51:50 -07:00
test-rename.t copy: distinguish "file exists" cases and add a hint (BC) 2016-09-19 17:15:39 -04:00
test-repair-strip.t strip: don't use "full" and "partial" to describe bundles 2016-09-19 09:14:35 -07:00
test-requires.t urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
test-resolve.t merge: add conflict labels to merge command 2016-10-07 08:51:50 -07:00
test-revert-flags.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-revert-interactive.t revert: prompt before removing files in interactive mode 2016-11-25 09:10:30 +01:00
test-revert-unknown.t tests: remove unneeded -d flags 2010-09-02 23:22:51 +02:00
test-revert.t tests: replace "cp -r" with "cp -R" 2016-11-30 19:25:18 +00:00
test-revlog-ancestry.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09: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-revlog.t pypy: fix overeager pattern matching on mpatchError 2016-04-05 10:59:46 +03: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 samplehgrcs: use single quotes in use warning 2016-09-20 23:49:00 +00:00
test-revset.t spelling: fixes of non-dictionary words 2016-10-17 23:16:55 +02:00
test-rollback.t rollback: add a config knob for entirely disabling the command 2016-05-03 16:33:25 -04:00
test-run-tests.py tests: make test-run-tests use absolute_import 2016-04-14 01:03:24 +05:30
test-run-tests.t run-tests: add support for using 127.0.0.1 as a glob 2016-07-09 23:01:02 -04:00
test-schemes.t schemes: add debugexpandscheme command, resolving a scheme to canonical form 2016-01-29 14:53:44 -05:00
test-serve.t test-serve: add missing globs 2016-07-15 12:34:15 -04:00
test-setdiscovery.t pypy: fix setdiscovery test 2016-04-05 14:44:18 +03:00
test-share.t tests: drop DAEMON_PIDS from killdaemons calls 2015-06-08 14:55:40 -05:00
test-shelve.t shelve: move patch extension to a string constant 2016-11-29 07:20:03 -08:00
test-simple-update.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-simplemerge.py tests: make test-simplemerge use absolute_import 2016-04-16 02:59:36 +05:30
test-simplemerge.py.out simplemerge: burn "minimal" feature to the ground 2014-08-05 14:56:25 -07:00
test-ssh-bundle1.t wireproto: only advertise HTTP-specific capabilities to HTTP peers (BC) 2016-11-28 20:46:42 -08:00
test-ssh-clone-r.t tests: restore 'python' and '$TESTDIR/' for dummyssh invocation 2015-06-09 21:39:33 -04:00
test-ssh.t wireproto: only advertise HTTP-specific capabilities to HTTP peers (BC) 2016-11-28 20:46:42 -08:00
test-static-http.t tests: invoke printenv.py via sh -c for test portability 2016-10-29 02:44:45 +09:00
test-status-color.t color: allow for user-configurable terminfo codes for effects 2016-10-13 11:48:17 -07:00
test-status-inprocess.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35: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: add more complete tests for --rev 2014-10-12 22:23:43 -07:00
test-status.t py3: make files use absolute_import and print_function 2016-07-03 22:28:24 +05:30
test-strict.t help: use single quotes in use warning 2016-09-20 23:47:46 +00:00
test-strip-cross.t tests: don't load unnecessary graphlog extension 2013-11-22 19:14:17 +01:00
test-strip.t help: backout 6f89f03ad369 (mark boolean flags with [no-] in help) for now 2016-10-09 03:11:18 +02:00
test-subrepo-deep-nested-change.t samplehgrcs: use single quotes in use warning 2016-09-20 23:49:00 +00:00
test-subrepo-git.t merge: add conflict labels to merge command 2016-10-07 08:51:50 -07:00
test-subrepo-missing.t merge: use labels in prompts to the user 2016-08-12 06:01:42 -07: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 tests: remove lines that enable progress extension 2016-03-20 04:54:35 +00:00
test-subrepo-relative-path.t tests: restore 'python' and '$TESTDIR/' for dummyssh invocation 2015-06-09 21:39:33 -04:00
test-subrepo-svn.t merge: use labels in subrepo merge 2016-10-08 01:25:28 -07:00
test-subrepo.t tests: replace "cp -r" with "cp -R" 2016-11-30 19:25:18 +00:00
test-symlink-os-yes-fs-no.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09: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 tests: drop explicit $TESTDIR from executables 2015-06-08 14:44:30 -05:00
test-tag.t tag: clarify warning about making a tag on a branch head 2016-10-31 17:12:32 -05:00
test-tags.t posix: give the cached symlink a real target 2016-11-30 16:39:36 +00:00
test-template-engine.t templater: load and expand aliases by template engine (API) (issue4842) 2016-03-27 20:59:36 +09:00
test-tools.t tests: make 'f' tool open files in binary mode when hexdumping 2015-11-09 12:49:31 -05:00
test-transplant.t tests: reorder hg serve commands 2016-03-15 09:51:54 +00:00
test-treediscovery-legacy.t tests: drop DAEMON_PIDS from killdaemons calls 2015-06-08 14:55:40 -05:00
test-treediscovery.t tests: tolerate http2 2016-04-21 04:30:18 +00:00
test-treemanifest.t tests: replace "cp -r" with "cp -R" 2016-11-30 19:25:18 +00:00
test-trusted.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-trusted.py.out tests: make test-trusted use print_function 2016-04-16 04:06:24 +05:30
test-ui-color.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09: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: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-ui-config.py.out dispatch: strip command line options like config file options 2016-02-08 15:35:30 -08:00
test-ui-verbosity.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-ui-verbosity.py.out tests: renamed Python tests to .py 2009-05-17 01:39:31 +02:00
test-unbundlehash.t tests: use 'legacy.exchange' option in various bundle1 tests 2016-08-03 15:34:03 +02:00
test-unified-test.t py3: make files use absolute_import and print_function 2016-07-03 22:28:24 +05:30
test-unionrepo.t unionrepo: fix wrong rev being checked in iscensored (issue5024) 2016-01-06 11:01:55 -08:00
test-unrelated-pull.t tests: add missing trailing 'cd ..' 2012-06-11 01:40:51 +02:00
test-up-local-change.t merge: avoid superfluous filemerges when grafting through renames (issue5407) 2016-10-25 21:01:53 +02:00
test-update-branches.t update: use single quotes in use warning 2016-09-02 21:49:33 +00:00
test-update-issue1456.t tests: replace exit 80 with #require 2014-08-06 11:43:59 -05:00
test-update-names.t tests: run "cwd was removed" test only if cwd can actually be removed 2016-10-26 22:50:06 +09:00
test-update-reverse.t progress: get the extremely verbose output out of default debug 2015-05-09 23:40:40 -07:00
test-url-rev.t url: fix crash by empty path with #fragments 2016-09-30 21:38:47 +09:00
test-url.py sslutil: synchronize hostname matching logic with CPython 2016-06-26 19:34:48 -07:00
test-username-newline.t tests: drop final true command from unified tests 2010-09-20 16:00:15 -05:00
test-verify-repo-operations.py tests: make test-verify-repo-operations.py not run by default 2016-03-11 11:44:03 -08:00
test-verify.t tests: replace "cp -r" with "cp -R" 2016-11-30 19:25:18 +00:00
test-walk.t test-walk: add more tests for -I/-X 2014-11-05 11:25:57 -08:00
test-walkrepo.py ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
test-websub.t tests: drop explicit $TESTDIR from executables 2015-06-08 14:44:30 -05:00
test-win32text.t urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
test-wireproto.py py3: use multi-line import in test-wireproto.py 2016-04-10 21:32:08 +00:00
test-wireproto.py.out wireproto: correctly escape batched args and responses (issue4739) 2015-06-30 19:19:17 -04:00
test-wireproto.t tests: tolerate http2 2016-04-21 04:30:18 +00:00
tinyproxy.py py3: re-implement the BaseHTTPServer.test() function 2016-07-15 23:00:31 +05:30

To run the tests, do:

cd tests/
python run-tests.py

See https://mercurial-scm.org/wiki/WritingTests for
more information on writing tests.