sapling/tests
Durham Goode d31e2ec441 treemanifest: fix pack transaction closing
Summary:
When adding manifests, we keep the mutable packs open for the duration of the
transaction. The old code had a bug where it didn't realize the pack files were
already open and it would open new ones. This meant only the last pack file was
finalized and the rest were left open as unfinished temp files.

This patch fixes it and adds a test.

Test Plan: Added a test

Reviewers: #mercurial, quark

Reviewed By: quark

Subscribers: medson, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D5297004

Signature: t1:5297004:1498086398:5cbe6e6c78d02f09d341417ec3a745853dac9849
2017-06-21 16:59:44 -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 test-check: do not trust system hg 2017-06-16 10:57:52 -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 codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
library.sh histpack: add version 1 2017-05-03 10:19:45 -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: check if external modules are imported 2017-06-20 13:40:53 -07:00
p4setup.sh p4fastimport: move p4fastimport under hgext3rd 2017-05-12 17:03:20 -07:00
perftest.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -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-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 check-code: fix test 2017-06-19 01:59:39 -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-errormsg.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-copytrace.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-cstore.t cstore: implement UnionDatapackStore 2017-02-23 14:03:03 -08:00
test-debugcommitmessage.t extension to print commit message that would be supplied to editor 2016-10-03 04:39:51 -07:00
test-debuginhibit.t codemod: remove extpath in tests 2017-06-16 18:31:25 -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 codemod: remove extpath in tests 2017-06-16 18:31:25 -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 codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-fastmanifest-access.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-fastmanifest-blackbox.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-fastmanifest-concurrency.t check-ext: make checks stricter 2017-06-19 08:02:38 -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 check-ext: make checks stricter 2017-06-19 08:02:38 -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 codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-fbamend-fold.t fbamend: backport fold command 2017-06-16 14:06:24 -07:00
test-fbamend-metaedit.t metaedit: fix editing multiple commits 2017-06-19 16:03:17 +01:00
test-fbamend-next.t fbamend: move next, previous to a movement.py 2017-06-13 17:09:16 -07:00
test-fbamend-nextrebase.t allowunstable: remove from tests 2017-06-16 21:33:17 -07:00
test-fbamend-noinhibit.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-fbamend-previous.t fbamend: move next, previous to a movement.py 2017-06-13 17:09:16 -07:00
test-fbamend-rebase.t allowunstable: remove the extension 2017-06-16 15:54:15 -07:00
test-fbamend-restack.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-fbamend-split.t fbamend: backport prune 2017-06-16 14:39:04 -07:00
test-fbamend-userestack.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-fbamend.t fbamend: fix tests 2017-06-19 13:24:41 -07:00
test-fbconduit.t fbconduit: fix error handling in gitnode() revset 2017-02-15 12:35:06 -08:00
test-fbhistedit-exec-obsolete.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-fbhistedit-exec.t codemod: replace evolve by fbamend 2017-06-16 15:50:01 -07:00
test-fbhistedit-rebase-interactive.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-fbhistedit-stop-obsolete.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-fbhistedit-stop.t check-ext: make checks stricter 2017-06-19 08:02:38 -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 codemod: remove extpath in tests 2017-06-16 18:31:25 -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 codemod: remove extpath in tests 2017-06-16 18:31:25 -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 check-ext: make checks stricter 2017-06-19 08:02:38 -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: delete bkpstate from shared working copy 2017-04-25 01:09:28 -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.t codemod: replace evolve by fbamend 2017-06-16 15:50:01 -07:00
test-infinitepush-bundlestore.t infinitepush: run debugfillinfinitepushmetadata in the background 2017-06-20 05:40:01 -07:00
test-infinitepush-logging.t infinitepush: use milliseconds to measure elapsed time in logging 2017-06-21 11:13:38 -07:00
test-infinitepush-pullback-obsolete.t codemod: replace evolve by fbamend 2017-06-16 15:50:01 -07:00
test-infinitepush-pullbackup.t infinitepush: run backup check before backup from time to time 2017-04-05 00:56:28 -07:00
test-infinitepush-remotefilelog.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-infinitepush-remotenames.t codemod: remove extpath in tests 2017-06-16 18:31:25 -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 modcheck: check if external modules are imported 2017-06-20 13:40:53 -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 check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-mergedriver.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-morecolors.t morecolors: new extension to add more colors to outputs 2017-04-25 17:03:26 -07:00
test-morestatus.t codemod: remove extpath in tests 2017-06-16 18:31:25 -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 check-ext: make checks stricter 2017-06-19 08:02:38 -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-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: update test to reflect upstream changes 2017-05-18 15:19:14 -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 test because of arcanist configuration changes 2017-04-28 03:58:08 -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 check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-pull-createmarkers.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-pushrebase-manifests.t pushrebase: send obsmarkers to client if client supports it 2017-04-11 13:21:27 -07:00
test-pushrebase-protection.t pushrebase: improve blocknonpushrebase error message 2017-06-19 12:48:46 -07:00
test-pushrebase-remotenames.t pushrebase: improve blocknonpushrebase error message 2017-06-19 12:48:46 -07:00
test-pushrebase.t check-ext: make checks stricter 2017-06-19 08:02:38 -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-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: add revlog flags information to the protocol 2017-04-26 13:08:13 -07: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 remotefilelog: adjust PYTHONPATH during tests 2017-02-09 18:02:52 -08:00
test-remotefilelog-local.t remotefilelog: fix changelog.add when node exists 2017-06-19 15:35:23 -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 histpack: add per-node index 2017-05-03 10:19:45 -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 codemod: replace evolve by fbamend 2017-06-16 15:50:01 -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 scm-prompt: add eden snapshots support 2017-04-11 08:47:12 -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 codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-smartlog-obsolete.t allowunstable: remove the extension 2017-06-16 15:54:15 -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: use dagop.reachableroots 2017-06-20 13:58:40 -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 testing: fix spacing for merge conflict markers 2016-11-29 07:23:32 -08:00
test-sqldirstate-fbhistedit.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-sqldirstate-shelve.t check-ext: make checks stricter 2017-06-19 08:02:38 -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-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 check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-treemanifest-peertopeer.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-treemanifest-prefetch.t treemanifest: fix sub-tree prefetches 2017-06-21 16:59:44 -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 treemanifest: set upper rev bound on revlog repack 2017-06-20 11:08:15 -07:00
test-treemanifest-server.t check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
test-treemanifest.t treemanifest: fix pack transaction closing 2017-06-21 16:59:44 -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 codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-tweakdefaults-remotenames.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-tweakdefaults-update.t codemod: remove extpath in tests 2017-06-16 18:31:25 -07:00
test-tweakdefaults.t codemod: remove extpath in tests 2017-06-16 18:31:25 -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 Implement 'hg uncommit' 2016-08-17 13:43:25 -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 commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -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`