sapling/tests
Felix Merk 2e993a8456 undo: localbrach fancy indexes
Adds smart indexing to localbranch undoes. This eliminates the mental burden of
the user of keeping track in what order and when changes where made.  Drawback
is that it raises the computational complexity from the number of draft
commits to draft commits times how many repo states you are undoing.  Common use
case should be to undo a small number of changes, so this is acceptable.

hg undo -b changectx finds the closest pertinent change and undoes that.  -b
with -n is not supported.  The reason it is not supported is that local branch
level undoes are delta specific and not state specific, which in essence means
that running hg undo -b # twice is not guaranteed to give you the same resault
as running hg undo -b # -n 2.  We could run -b multiple times for a -n, but the
cost of a -b increases with a larger -n (which isn't the case for a standard
undo), and abort handling would be more complicated (I'm not sure how well we
can roll back a tree of obs markers?).  In essence -n with -b is not that
usefull a feature (bc perf limits) and would potentially require a decently large
amount of time to implement correctly.

Also adds redo -b since this command now makes a lot more sense when we use the
smarter indexing.  Adds logic to seperate undoes and redoes in different
branches.  You can perform relative undoes and redoes within the latest scope,
while undoes and redoes within a new scope will start at the present (absolute)
state.

Differential Revision: https://phab.mercurial-scm.org/D186
2017-08-03 15:17:21 -07:00
..
blacklist-sqldirstate sqldirstate: call the registered callbacks on wd parent change 2016-08-15 03:46:52 -07:00
bundlerepologger.py infinitepush: reuse bundlerepo 2017-03-06 00:40:49 -08:00
check-ext.py check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
conduithttp.py fbconduit: fix error handling in gitnode() revset 2017-02-15 12:35:06 -08:00
copytrace.sh copytrace: use filename heuristics to quickly find moves 2017-06-01 04:39:27 -07:00
cstore-datapackstore.py cstore: implement markForRefresh on cdatapackstore 2017-03-01 16:55:18 -08:00
cstore-treemanifest.py treemanifest: chop off trailing slash when requesting manifests 2017-04-19 21:14:04 -07:00
cstore-uniondatapackstore.py cstore: implement UnionDatapackStore.get() 2017-02-23 14:03:03 -08:00
dummyext1.py cleanup: make all the code compliant with the i18n rules for ui strings 2016-01-11 10:19:22 -08:00
dummyext2.py cleanup: make all the code compliant with the i18n rules for ui strings 2016-01-11 10:19:22 -08:00
dummyssh test: backout e221a52 (remove run-tests.py once again) 2015-12-16 16:42:17 +00:00
get-with-headers.py remotefilelog: pass modern check-code 2016-08-26 08:48:07 -07:00
getflogheads.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
helper-testrepo.sh helper-testrepo: workaround broken helpers-testrepo.sh 2017-07-07 21:06:48 -07:00
heredoctest.py checkcode: fix tests 2016-04-26 13:00:31 -07:00
histedit-helpers.sh fb-histedit: Add a histedit extension that adds stop 2014-10-09 10:54:43 -07:00
killdaemons.py checkcode: fix tests 2016-04-26 13:00:31 -07:00
library-infinitepush.sh infinitepush: backout lfs fix 2017-07-13 13:53:40 -07:00
library.sh datapack: allow 'long' for metadata types 2017-07-11 17:02:15 -07:00
lockfail.py infinitepush: avoid using push during debugbackup 2016-12-07 06:05:29 -08:00
ls-l.py remotefilelog: let content stores support metadata 2017-04-26 19:50:36 -07:00
modcheck.py modcheck: whitelist lz4revlog 2017-07-11 14:42:10 -07:00
p4setup.sh p4fastimport: move p4fastimport under hgext3rd 2017-05-12 17:03:20 -07:00
perftest.py tests: fix 'if False' statements flagged by check-code 2017-07-12 21:29:28 -07:00
README fastannotate: support remotefilelog 2016-11-03 20:55:16 +00:00
remotefilelog-datapack.py cdatapack: fix empty revision reading 2017-05-02 10:01:13 -07:00
remotefilelog-histpack.py histpack: update unit tests to use version 1 2017-05-03 10:19:46 -07:00
require-core-hg.sh test-check: backport test-check-commit from core hg 2016-10-18 17:07:43 +01:00
require-ext.sh require-ext: fix the script 2017-06-02 12:59:00 -07:00
run-sqlitedirstate-test.py sqldirstate: the extension 2016-05-06 16:56:45 -07:00
seq.py scmprompt: output only one remote bookmark 2017-01-04 00:23:16 -08:00
silenttestrunner.py store: add unit tests for datapack classes 2016-04-28 15:00:34 -07:00
test-absorb-edit-lines.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-absorb-filefixupstate.py absorb: fix test-check issues 2016-10-20 14:59:20 +01:00
test-absorb-rename.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-absorb-strip.t absorb: do not strip innocent children 2017-05-16 16:25:00 -07:00
test-absorb.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-age.t age: add age revsetpredicate extension 2017-08-01 03:12:04 -07:00
test-arcconfig.t add arcconfig accessors 2016-04-27 09:27:56 -07:00
test-backup.t backups: small output improvements for backups extension 2017-04-24 10:00:31 -07:00
test-catnotate.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-check-code-hg.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-check-commit-hg.t test-check-commit: do not unset HGRCPATH 2017-06-17 09:48:32 -07:00
test-check-config-hg.t tests: update for new check-code output 2017-07-20 03:39:08 -07:00
test-check-execute-hg.t test-check: do not trust system hg 2017-06-16 10:57:52 -07:00
test-check-pyflakes-hg.t test-check: do not trust system hg 2017-06-16 10:57:52 -07:00
test-check-shbang-hg.t test-check: do not trust system hg 2017-06-16 10:57:52 -07:00
test-cleanobsstore.t codemod: replace evolve by fbamend 2017-06-16 15:50:01 -07:00
test-commitextras.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-copytrace-amend.t copytrace: add fast copytracing for amends 2017-07-18 08:52:20 +01:00
test-copytrace-errormsg.t tests: change the name of backup files 2017-07-11 09:44:53 -07:00
test-copytrace.t tests: change the name of backup files 2017-07-11 09:44:53 -07:00
test-crdump.t crdump: fix tests on OSX 2017-08-03 08:50:12 -07:00
test-cstore.t fix tests 2017-06-22 00:33:08 -07:00
test-debugcommitmessage.t extension to print commit message that would be supplied to editor 2016-10-03 04:39:51 -07:00
test-dialect-show.t hgext: rename show.py to fbshow.py to prevent upstream collision 2017-04-06 13:36:18 -07:00
test-diff-since-last-arc-diff.t tests_: fix failures related to recent renames 2016-09-22 07:44:34 -07:00
test-dirsync.t tests: adjust for new messages coming from the strip transaction 2017-07-11 09:44:53 -07:00
test-drop.t drop: fix check-code failures 2017-07-19 07:08:21 -07:00
test-edrecord.t edrecord: allow specifying a different editor for chunk selection 2017-04-06 16:49:27 -07:00
test-errorredirect.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-extorder.t extorder: fix test 2017-06-13 09:13:41 -07:00
test-extutil.py extutil: add unit tests for runbgcommand 2017-04-11 11:25:40 -07:00
test-fastannotate-corrupt.t fastannotate: move to hgext3rd 2017-05-23 11:47:22 -07:00
test-fastannotate-diffopts.t fastannotate: move to hgext3rd 2017-05-23 11:47:22 -07:00
test-fastannotate-hg.t fastannotate: fix tests 2017-06-05 02:45:29 -07:00
test-fastannotate-perfhack.t fastannotate: move to hgext3rd 2017-05-23 11:47:22 -07:00
test-fastannotate-protocol.t fastannotate: move to hgext3rd 2017-05-23 11:47:22 -07:00
test-fastannotate-remotefilelog.t remotefilelog: use a connection pool instead of a long running connection 2017-06-20 11:08:15 -07:00
test-fastannotate-renames.t fastannotate: move to hgext3rd 2017-05-23 11:47:22 -07:00
test-fastannotate-revmap.py tests: fix fastannotate tests 2017-05-23 15:38:09 -07:00
test-fastannotate.t fastannotate: move to hgext3rd 2017-05-23 11:47:22 -07:00
test-fastlog.t fastlog: show all hg log output even if fastlog request failed 2017-07-31 00:58:55 -07:00
test-fastmanifest-access.t tests: change the name of backup files 2017-07-11 09:44:53 -07:00
test-fastmanifest-blackbox.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-fastmanifest-concurrency.t fix tests 2017-06-22 00:33:08 -07:00
test-fastmanifest-permission.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-fastmanifest-pruning.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-fastmanifest-readfast.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-fastmanifest-remotenames.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-fastmanifest-writepath.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-fastmanifest.py compatibility: migrate from scmutil.vfs to mercurial.vfs.vfs 2017-04-18 14:42:33 -07:00
test-fastmanifest.t fastmanifest: make usecache prevent cache creation 2017-07-31 13:55:07 -07:00
test-fastpartialmatch-bundlerepo.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-fastpartialmatch-obsolete.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-fastpartialmatch-shelve.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-fastpartialmatch.t fastpartialmatch: fix devel.warn 2017-07-17 04:03:15 -07:00
test-fbamend-fold.t inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
test-fbamend-hiddenoverride.t hiddenoverride: optionally log details 2017-07-21 10:50:30 -07:00
test-fbamend-hide.t fbamend: add unhide command for easy unhiding of commits 2017-07-27 03:39:01 -07:00
test-fbamend-metaedit.t metaedit: fix editing multiple commits 2017-06-19 16:03:17 +01:00
test-fbamend-next.t fbamend: add --clean flag to hg prev/next 2017-07-18 20:13:25 -07:00
test-fbamend-nextrebase.t fbamend: add --clean flag to hg prev/next 2017-07-18 20:13:25 -07:00
test-fbamend-noinhibit.t fbamend: change hint text to suggest running restack 2017-06-26 07:31:28 -07:00
test-fbamend-previous.t fbamend: add --clean flag to hg prev/next 2017-07-18 20:13:25 -07:00
test-fbamend-rebase.t inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
test-fbamend-restack.t test-restack: add a case demonstrating restack rebase a single commit twice 2017-07-20 22:23:14 -07:00
test-fbamend-split.t inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
test-fbamend-to.t adding hg amend --to option so it amends to a specific commit 2017-07-14 12:06:22 -07:00
test-fbamend-userestack.t inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
test-fbamend.t hiddenoverride: avoid race condition updating the state file 2017-07-18 16:07:33 -07:00
test-fbconduit.t fix tests 2017-06-22 00:33:08 -07:00
test-fbhistedit-exec-obsolete.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-fbhistedit-exec.t histedit: add --retry and --show-plan options 2017-07-24 09:32:47 -07:00
test-fbhistedit-rebase-interactive.t tests: update to match upstream backup file name change 2017-07-11 13:19:40 -07:00
test-fbhistedit-show-plan.t histedit: add --retry and --show-plan options 2017-07-24 09:32:47 -07:00
test-fbhistedit-stop-obsolete.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-fbhistedit-stop.t inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
test-fixcorrupt.t fixcorrupt: automatically look back as far as necessary 2017-04-12 14:09:22 -07:00
test-generic-bisect.py fastpartialmatch: use bisect to quickly find matching revisions 2017-02-02 05:12:10 -08:00
test-git-getmeta.t gitlookup: fix lookup if not string is passed 2017-04-04 01:04:40 -07:00
test-githelp.t githelp: don't crash when user does githelp -- git 2017-07-26 08:51:21 -07:00
test-gitlookup-infinitepush.t infinitepush: make sure infinitepush works well with gitlookup 2017-06-15 02:44:27 -07:00
test-grepdiff.t hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
test-grpcheck.t grpcheck: new extension to check if the user is in given groups 2016-09-20 23:15:09 +01:00
test-hiddenerror.t obsolete: update tests with new debugobsolete message 2017-07-18 10:09:28 -07:00
test-infinitepush-backup-logging.t infinitepush: use ui.debug() instead of ui.warn() 2017-04-17 23:44:26 -07:00
test-infinitepush-backup-remotefilelog.t inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
test-infinitepush-backup-remotenames.t infinitepush: add timestamp to the logs 2017-03-16 02:20:02 -07:00
test-infinitepush-backup-share.t infinitepush: remove infinitepush.tempcleanworkingcopiesbackups 2017-07-31 01:00:15 -07:00
test-infinitepush-backup-sql.t infinitepush: pass reponame to 'DELETE from bookmarkstonode...' query 2017-03-30 01:16:06 -07:00
test-infinitepush-backup-status.t infinitepush: add summary of not-backed-up files to smartlog 2017-08-01 03:12:04 -07:00
test-infinitepush-backup.t test-infinitepush-backup: do not test ls output 2017-08-02 11:29:03 -07:00
test-infinitepush-bundlestore.t tests: change the name of backup files 2017-07-11 09:44:53 -07:00
test-infinitepush-lfs.t infinitepush: re-enable lfs support 2017-07-20 01:14:35 -07:00
test-infinitepush-logging.t infinitepush: relax hostname regex in tests 2017-08-02 16:42:08 +01:00
test-infinitepush-pullback-obsolete.t codemod: replace evolve by fbamend 2017-06-16 15:50:01 -07:00
test-infinitepush-pullbackup.t infinitepush: remove some unused options 2017-07-20 01:20:59 -07:00
test-infinitepush-remotefilelog.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-infinitepush-remotenames.t infinitepush: handle remotenames hoisting correctly 2017-07-21 08:19:59 -07:00
test-infinitepush-sql.t infinitepush: implement saveoptionaljsonmetadata for sqlindexapi 2017-06-19 01:27:31 -07:00
test-infinitepush-update.t infinitepush: pull node during update 2017-02-10 00:20:54 -08:00
test-inhibit.t inhibit: fix date handling and add more tests 2017-07-27 12:33:43 -07:00
test-lfs-pointer.py lfs: add validation to pointer 2017-05-11 17:51:44 -07:00
test-lfs-pointer.py.out lfs: add validation to pointer 2017-05-11 17:51:44 -07:00
test-lfs-test-server.t lfs: implement byte-level progress bar 2017-05-22 11:03:14 -07:00
test-lfs.t lfs: add a lfs_files template 2017-05-18 22:18:20 -07:00
test-linelog-random-edits.t [tests] add missing PYTHONPATH changes 2016-08-25 17:42:23 +01:00
test-linkrevcache-linkrevdb.py linkrevcache: implement the database 2016-11-14 18:03:15 +00:00
test-linkrevcache.t linkrevcache: wrap _adjustlinkrev to take advantage of the linkrev database 2016-11-14 18:04:29 +00:00
test-merge-conflictinfo.t tests: remove transaction aborts 2017-07-11 09:44:53 -07:00
test-mergedriver.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-morecolors.t morecolors: colorize uncaught exceptions 2017-06-29 09:55:25 -07:00
test-morestatus.t tests: remove transaction aborts 2017-07-11 09:44:53 -07:00
test-myparent.t tests_: make test-myparent.t resilient to BSD vs GNU grep differences 2017-01-20 08:33:49 -08:00
test-nointerrupt.t commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
test-obsshelve.t obsolete: update tests with new debugobsolete message 2017-07-18 10:09:28 -07:00
test-ownercheck.t ownercheck: new extension to prevent operations on repos not owned 2016-07-26 13:10:15 +01:00
test-p4fastimport-case-insensitive-rename.t p4fastimport: update test to reflect upstream changes 2017-05-18 15:19:14 -07:00
test-p4fastimport-case-insensitivity.t p4fastimport: update test to reflect upstream changes 2017-05-18 15:19:14 -07:00
test-p4fastimport-criss-cross.t p4fastimport: update test to reflect upstream changes 2017-05-18 15:19:14 -07:00
test-p4fastimport-gitfusion-race-condition.t p4fastimport: make tests not depending on environment 2017-08-02 00:00:47 -07:00
test-p4fastimport-import-badclient.t Let non-existing client fail the import early 2017-07-13 10:18:39 -07:00
test-p4fastimport-import-client-mapping.t p4fastimport: update test to reflect upstream changes 2017-05-18 15:19:14 -07:00
test-p4fastimport-import-deletes.t p4fastimport: update test to reflect upstream changes 2017-05-18 15:19:14 -07:00
test-p4fastimport-import-incremental.t p4fastimport: update test to reflect upstream changes 2017-05-18 15:19:14 -07:00
test-p4fastimport-import-lfs.t p4fastimport: use verify.skipflags in lfs test 2017-05-18 22:21:34 -07:00
test-p4fastimport-import-modes.t p4fastimport: fix symlink handling 2017-08-02 00:00:47 -07:00
test-p4fastimport-import-parallel.t p4fastimport: update test to reflect upstream changes 2017-05-18 15:19:14 -07:00
test-p4fastimport-import.t p4fastimport: handle keyword extension 2017-06-19 11:54:10 -07:00
test-p4fastimport-limit.t p4fastimport: update test to reflect upstream changes 2017-05-18 15:19:14 -07:00
test-p4fastimport-transaction.t p4fastimport: filelog transaction wtih support for concurrent access 2017-05-16 12:36:23 -07:00
test-patchpython.py patchpython: fix test-check tests 2016-10-20 16:03:31 +01:00
test-patchrmdir.py patchrmdir: new extension to workaround rmdir kernel issues 2017-03-15 18:55:48 -07:00
test-patchrmdir.py.out patchrmdir: new extension to workaround rmdir kernel issues 2017-03-15 18:55:48 -07:00
test-perftweaks-remotenames.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-perftweaks.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-phabdiff.t phabdiff: add singlepublicbase revset 2017-06-21 17:03:50 +01:00
test-phabstatus.t phabstatus: fix interaction with the smartlog extension 2017-07-06 09:38:14 -07:00
test-phrevset-local.t phrevset: return baseset instead of list 2017-04-24 09:47:52 -07:00
test-progressfile.t commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
test-pull-createmarkers-hide-later.t pushrebase: fix typo 2017-07-24 11:42:24 -07:00
test-pull-createmarkers.t pushrebase: fix typo 2017-07-24 11:42:24 -07:00
test-pushrebase-fastmanifest.t pushrebase: fix typo 2017-07-24 11:42:24 -07:00
test-pushrebase-manifests.t pushrebase: fix typo 2017-07-24 11:42:24 -07:00
test-pushrebase-protection.t pushrebase: fix typo 2017-07-24 11:42:24 -07:00
test-pushrebase-remotenames.t pushrebase: fix typo 2017-07-24 11:42:24 -07:00
test-pushrebase.t pushrebase: move bookmarks as well 2017-07-27 12:33:43 -07:00
test-pushvars-remotenames.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-pushvars.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-rage.t rage: add a hack to make rage work on osx 2017-06-15 04:20:52 -07:00
test-remotefilelog-bad-configs.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-bgprefetch.t remotefilelog: change prefetch default behaviour 2017-07-25 06:35:16 -07:00
test-remotefilelog-blame.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-bundle2-legacy.t commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
test-remotefilelog-bundle2.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-bundles.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-cacheprocess.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-clone-tree.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-clone.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-corrupt-cache.t remotefilelog: handle truncated server cache files 2017-07-21 16:07:09 +01:00
test-remotefilelog-gc.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-http.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-lfs.t remotefilelog: remove filectx.cmp override 2017-05-22 10:59:53 -07:00
test-remotefilelog-linknodes.t tests: change the name of backup files 2017-07-11 09:44:53 -07:00
test-remotefilelog-local.t tests: change the name of backup files 2017-07-11 09:44:53 -07:00
test-remotefilelog-log.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-partial-shallow.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-permissions.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-prefetch.t histpack: add version 1 2017-05-03 10:19:45 -07:00
test-remotefilelog-pull-noshallow.t remotefilelog: fix tests 2017-04-12 13:21:16 -07:00
test-remotefilelog-push-pull.t remotefilelog: fix tests 2017-04-12 13:21:16 -07:00
test-remotefilelog-repack-fast.t datapack: allow 'long' for metadata types 2017-07-11 17:02:15 -07:00
test-remotefilelog-repack.t packs: add packs.maxchainlen config 2017-05-21 17:09:08 -07:00
test-remotefilelog-sparse.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-tags.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-treemanifest.t treemanifest: add config to not clone tree revlogs during remotefilelog clone 2017-04-19 21:14:04 -07:00
test-remotefilelog-wireproto.t remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remoteid-print.t remoteid: move to hgext3rd 2017-05-23 11:47:04 -07:00
test-reset-remotenames.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-reset.t inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
test-sampling.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-scm-prompt-compat.t scm-prompt: fix _dotfiles_scm_info 2017-04-25 10:56:35 -07:00
test-scm-prompt-git.t scm-prompt: add test for git behavior 2016-04-29 10:49:36 -07:00
test-scm-prompt-hg.t Backed out changeset 95334859434c 2017-08-02 11:44:18 -07:00
test-show.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-sigtrace.t commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
test-simplecache.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-smartlog-inhibit.t inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
test-smartlog-obsolete.t smartlog: only count visible successors 2017-07-19 10:43:01 -07:00
test-smartlog-remotenames.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-smartlog-tweakdefaults.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-smartlog.t smartlog: do not draw public commits between draft commits and master 2017-07-21 07:10:08 -07:00
test-sparse-clear.t creates hg sparse --clear-rules option 2017-02-27 10:53:50 -08:00
test-sparse-clone.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-sparse-extensions.t sparse: remove the failed attempt to change watchman config during test 2016-08-26 11:59:52 -07:00
test-sparse-import.t modcheck: check if external modules are imported 2017-06-20 13:40:53 -07:00
test-sparse-merges.t hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
test-sparse-profiles.t Allow sparse profiles to contain comments 2017-02-13 04:17:51 -08:00
test-sparse-verbose-json.t sparse: provide a change summary on file and rule count deltas 2017-04-27 08:37:13 -07:00
test-sparse.t sparse: also apply relative-path logic to --delete 2017-07-30 08:42:40 -07:00
test-sqldirstate-fbhistedit.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-sqldirstate-shelve.t obsolete: update tests with new debugobsolete message 2017-07-18 10:09:28 -07:00
test-sqldirstate-upgrade.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-sshaskpass.py sshaskpass: enable ssh to ask password if running with chg 2016-07-17 20:35:34 +01:00
test-sshaskpass.py.out sshaskpass: enable ssh to ask password if running with chg 2016-07-17 20:35:34 +01:00
test-syncstatus.t fb-hgext: fix tests to account for changes to Phabricator interaction 2017-03-31 03:26:04 -07:00
test-template-stat.t stat: template which outputs diffstat-style summary of changes 2017-07-31 11:09:50 -07:00
test-treemanifest-autoconvert.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-treemanifest-backfill.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-treemanifest-fastmanifest.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-treemanifest-noflat.t tests: change the name of backup files 2017-07-11 09:44:53 -07:00
test-treemanifest-peertopeer.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-treemanifest-prefetch.t treemanifest: allow using manifest nodes as base nodes during pack fetch 2017-07-14 10:34:12 -07:00
test-treemanifest-pushrebase.t treemanifest: add debug output for number of trees downloaded 2017-06-20 11:08:15 -07:00
test-treemanifest-repack.t datapack: allow 'long' for metadata types 2017-07-11 17:02:15 -07:00
test-treemanifest-server.t pushrebase: fix typo 2017-07-24 11:42:24 -07:00
test-treemanifest.t treemanifest: fix historypack corruption bug 2017-07-18 11:30:12 -07:00
test-tweakdefaults-blame.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-tweakdefaults-bookmarks.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-tweakdefaults-grep.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-tweakdefaults-histgrep.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-tweakdefaults-opawarecommands.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-tweakdefaults-ordering.t tests: change the name of backup files 2017-07-11 09:44:53 -07:00
test-tweakdefaults-remotenames.t tests: change the name of backup files 2017-07-11 09:44:53 -07:00
test-tweakdefaults-update.t tweakdefaults: remove --nocheck flag 2017-07-24 05:37:45 -07:00
test-tweakdefaults.t tweakdefaults: add ellipsis to trimmed showupdated commit messages 2017-08-02 07:56:58 -07:00
test-uncommit-bookmark.t Implement 'hg uncommit' 2016-08-17 13:43:25 -07:00
test-uncommit-merge.t Implement 'hg uncommit' 2016-08-17 13:43:25 -07:00
test-uncommit.t uncommit: allow power users to leave an empty commit around 2017-07-21 08:06:47 -07:00
test-undo.t undo: localbrach fancy indexes 2017-08-03 15:17:21 -07:00
test-update-i.t tweakdefaults: add --inactive flag to update command 2017-06-14 16:42:39 -07:00
test-whereami.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
treemanifest_correctness.py tests: fix 'if False' statements flagged by check-code 2017-07-12 21:29:28 -07:00
waitforfile.py [fastmanifest] add the ability for waitforfile.py to wait for a file to materialize 2016-06-24 16:17:18 -07:00

How to run Facebook experimental extensions tests
=================================================

Running the tests
-----------------

To run the tests, `cd` into this directory (./tests/) and run the `run-tests.py`
script from the core Mercurial repository (tests directory too).

For example if you have a 'hg-crew' repository checked out next to this one,
use:

  ../../hg-crew/tests/run-tests.py

Obtaining the test runners
--------------------------

If you do not already have a copy of the Mercurial repository, you can obtains
one with:

  $ hg clone http://mercurial-scm.org/hg

Running against various Mercurial versions
------------------------------------------

By default, the test runners will run against the version of Mercurial in the
repository it lives in. you can run against other version of Mercurial using
the --with-hg=PATH flag. For example to run against the installed version of
Mercurial you can use --with-hg=`which hg`