sapling/tests
Martijn Pieters fdd2a81efe journal: add share extension support
Summary:
Rather than put everything into one journal file, split entries up in *shared*
and *local* entries. Working copy changes are local to a specific working copy,
so should remain local only. Other entries are shared with the source if so
configured when the share was created.

When unsharing, any shared journale entries are copied across.

Test Plan:
Run all journal tests:

  $HGSRC/tests/run-tests.py -l test-journal*

Reviewers: #sourcecontrol, ttung, rmcelroy

Reviewed By: rmcelroy

Subscribers: rmcelroy, mjpieters

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

Tasks: 10804988

Signature: t1:3481745:1467215718:3b6666c2b908cea279f181f5a9310c0093d0c0fe
2016-06-29 17:42:16 +01:00
..
blacklist-sqldirstate sqldirstate: disable tests using hooks 2016-05-25 14:12:09 -07:00
conduithttp.py fbconduit: the deamon-postexec is a list now 2016-03-31 13:34:21 -07: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
histedit-helpers.sh fb-histedit: Add a histedit extension that adds stop 2014-10-09 10:54:43 -07:00
killdaemons.py Add missing killdaemons 2015-11-09 12:21:39 -08:00
README spelling: fix numerous spelling errors 2016-04-04 12:48:01 -07:00
run-sqlitedirstate-test.py sqldirstate: the extension 2016-05-06 16:56:45 -07:00
test-arcconfig.t add arcconfig accessors 2016-04-27 09:27:56 -07:00
test-backup.t backups: show warning message for createmarkers even when evolve is not enabled 2016-01-11 07:41:42 -08:00
test-catnotate.t echo -n not platform-agnostic 2016-06-10 13:37:24 -07:00
test-check-code-hg.t [fastmanifes] rename fastmanifest_wrapper as cfastmanifest 2016-05-26 11:34:56 -07:00
test-commitextras.t cleanup: use backtick instead of parent to capture output of shell cmd 2016-01-07 18:30:24 -08:00
test-diff-since-last-arc-diff.t hgext: refactor last-diff code into diffprops.py 2016-05-12 13:11:08 -07:00
test-dirsync.t dirsync: disable dirsync during shelve/unshelve 2016-05-05 14:51:59 -07:00
test-errorredirect.t errorredirect: wrap handlecommandexception instead of sys.exit 2016-04-19 10:59:22 -07:00
test-extorder.t extorder: Fix test 2015-12-15 09:23:53 -08:00
test-fastmanifest-access.t [fastmanifest] split test-fastmanifest.t into multiple files 2016-06-03 17:03:55 -07:00
test-fastmanifest-concurrency.t [fastmanifest] test to verify the behavior of the background cache worker 2016-06-24 16:17:40 -07:00
test-fastmanifest-permission.t fastmanifest: don't stop when we cannot get the lock 2016-06-13 15:26:55 -07:00
test-fastmanifest-remotenames.t [fastmanifest] fix incorrect table label 2016-06-24 16:13:39 -07:00
test-fastmanifest-writepath.t [fastmanifest] fix incorrect table label 2016-06-24 16:13:39 -07:00
test-fastmanifest.py fastmanifest: fix logic bug in the cache 2016-06-21 17:07:46 -07:00
test-fastmanifest.t [fastmanifest] ui.log's msg[0] must be a format string 2016-06-24 16:17:56 -07:00
test-fbamend.t fbamend: abort if preamend bookmark points to the current commit 2016-06-17 05:25:32 -07:00
test-fbconduit.t cleanup: fix quoting patterns in tests 2016-01-07 18:30:24 -08:00
test-fbhistedit-exec-obsolete.t adjust tests for "hg update" output change 2016-02-08 14:46:24 -08:00
test-fbhistedit-exec.t fbhistedit: add args and kwargs to torule 2016-06-21 14:03:46 -07:00
test-fbhistedit-rebase-interactive.t fbhistedit: update to work with upstream histedit 2016-01-20 13:40:15 -08:00
test-fbhistedit-stop-obsolete.t spelling: fix numerous spelling errors 2016-04-04 12:48:01 -07:00
test-fbhistedit-stop.t fix test-fbhistedit-stop.t test 2016-06-10 13:37:33 -07:00
test-git-getmeta.t Dropped local run-tests in favour of using mercurial's own test runner 2015-10-01 13:03:03 -07:00
test-githelp.t githelp: change advice to log task with sourcecontrolux tag 2016-04-28 04:14:31 -07:00
test-grepdiff.t grepdiff: an revset for code archeology 2016-06-06 14:16:10 -07:00
test-inhibitwarn.t cleanup: fix whitespaces in expression and trailing whitespaces 2016-01-07 18:30:24 -08:00
test-journal-remotenames.t journal: add remotename support 2016-06-29 17:37:42 +01:00
test-journal-share.t journal: add share extension support 2016-06-29 17:42:16 +01:00
test-journal.t journal: Add dirstate tracking 2016-06-29 17:39:52 +01:00
test-mergedriver.t test: match new quoting conventions in core 2016-04-19 15:33:58 -07:00
test-morestatus.t test: match new quoting conventions in core 2016-04-19 15:33:58 -07:00
test-nointerrupt.t nointerrupt: introduce extension 2016-06-23 11:30:36 -07:00
test-patchpython.py patchpython: new extension to patch buggy Python modules 2016-06-03 11:11:30 +01:00
test-perftweaks.t test-perftweaks: fix file permission test case 2016-04-07 16:53:18 -07:00
test-phabdiff.t phabdiff: make phabdiff more URL-agnostic 2016-04-28 10:55:06 -07:00
test-phabstatus.t Add conduit client 2016-04-27 09:27:56 -07:00
test-pull-createmarkers-hide-later.t [pullcreatemarkers] also obsolete parents of commits landed in this pull 2016-03-21 18:08:04 -07:00
test-pull-createmarkers.t phabdiff: make phabdiff more URL-agnostic 2016-04-28 10:55:06 -07:00
test-pushrebase-protection.t store the pushvars in the bundle2 operation object 2016-02-18 21:32:11 -08:00
test-pushrebase-remotenames.t pushrebase: support pushing to non-pushrebase repos 2016-03-22 10:57:29 -07:00
test-pushrebase.t Fix graphmod-related test failures 2016-04-19 11:19:20 +01:00
test-pushvars-remotenames.t store the pushvars in the bundle2 operation object 2016-02-18 21:32:11 -08:00
test-pushvars.t store the pushvars in the bundle2 operation object 2016-02-18 21:32:11 -08:00
test-rage.t rage: silence exceptions when reading details 2016-02-11 21:00:33 +00:00
test-reflog-remotenames.t Backed out changeset 0aa2b8139243 2016-06-21 13:58:55 +01:00
test-reflog.t Backed out changeset 0aa2b8139243 2016-06-21 13:58:55 +01:00
test-reset-remotenames.t cleanup: use backtick instead of parent to capture output of shell cmd 2016-01-07 18:30:24 -08:00
test-reset.t cleanup: use backtick instead of parent to capture output of shell cmd 2016-01-07 18:30:24 -08:00
test-sampling.t [sampling] treat msg like ui.log does 2016-06-24 16:18:34 -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: fix check-code test problems 2016-04-29 06:58:12 -07:00
test-share-reflog-remotebookmark.t extutil: move wrapfilecache from reflog to extutil 2016-05-19 16:25:28 -07:00
test-show.t spelling: fix numerous spelling errors 2016-04-04 12:48:01 -07:00
test-simplecache.t cleanup: use backtick instead of parent to capture output of shell cmd 2016-01-07 18:30:24 -08:00
test-smartlog-remotenames.t smartlog: warn user when there is no master commit locally 2016-02-02 11:15:28 -08:00
test-smartlog-tweakdefaults.t smartlog: add template keywords that would display rebase/amend targets 2016-04-27 04:14:12 -07:00
test-smartlog.t Fix graphmod-related test failures 2016-04-19 11:19:20 +01:00
test-sparse-clone.t Backed out changeset 0aa2b8139243 2016-06-21 13:58:55 +01:00
test-sparse-extensions.t Backed out changeset 0aa2b8139243 2016-06-21 13:58:55 +01:00
test-sparse-merges.t Backed out changeset 0aa2b8139243 2016-06-21 13:58:55 +01:00
test-sparse-profiles.t Backed out changeset 0aa2b8139243 2016-06-21 13:58:55 +01:00
test-sparse.t Backed out changeset 0aa2b8139243 2016-06-21 13:58:55 +01:00
test-sqldirstate-shelve.t Backed out changeset 0aa2b8139243 2016-06-21 13:58:55 +01:00
test-sqldirstate-upgrade.t Backed out changeset 0aa2b8139243 2016-06-21 13:58:55 +01:00
test-tweakdefaults-blame.t fix code that didn't pass test-check-code-hg.t 2016-04-07 15:52:47 -07:00
test-tweakdefaults-grep.t [tweakdefaults] stop running xargs+grep through a shell 2016-06-21 20:44:08 -07:00
test-tweakdefaults-histgrep.t histgrep: add a config option to allow histgrepping on the whole repo 2016-02-11 03:39:59 -08:00
test-tweakdefaults-opawarecommands.t tweakdefaults: make amend/rebase write their names to metadata 2016-04-25 08:12:10 -07:00
test-tweakdefaults-ordering.t cleanup: use backtick instead of parent to capture output of shell cmd 2016-01-07 18:30:24 -08:00
test-tweakdefaults-remotenames.t cleanup: use backtick instead of parent to capture output of shell cmd 2016-01-07 18:30:24 -08:00
test-tweakdefaults.t [tweakdefaults] fix handling of grep file pattern arguments 2016-06-21 20:44:06 -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://selenic.com/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`