annotate tests/blacklists/linux-vfat @ 39548:7ce9dea3a14a

localrepo: move repo creation logic out of localrepository.__init__ (API) It has long bothered me that local repository creation is handled as part of localrepository.__init__. Upcoming changes I want to make around how repositories are initialized and instantiated will make the continued existence of repository creation code in localrepository.__init__ even more awkward. localrepository instances are almost never constructed directly: instead, callers are supposed to go through hg.repository() to obtain a handle on a repository. And hg.repository() calls localrepo.instance() to return a new repo instance. This commit teaches localrepo.instance() to handle the create=True logic. Most of the code for repo construction has been moved to a standalone function. This allows extensions to monkeypatch the function to further customize freshly-created repositories. A few calls to localrepo.localrepository.__init__ that were passing create=True were converted to call localrepo.instance(). .. api:: local repo creation moved out of constructor ``localrepo.localrepository.__init__`` no longer accepts a ``create`` argument to create a new repository. New repository creation is now performed as part of ``localrepo.instance()`` and the bulk of the work is performed by ``localrepo.createrepository()``. Differential Revision: https://phab.mercurial-scm.org/D4534
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 11 Sep 2018 13:46:59 -0700
parents 352abbb0be88
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16339
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
1 # invalid filenames
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
2 test-add.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
3 test-init.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
4 test-clone.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
5 test-contrib.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
6 test-hgweb-raw.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
7 test-walk.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
8
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
9 # no sockets or fifos
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
10 test-hup.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
11
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
12 # no hardlinks
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
13 test-hardlinks.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
14 test-relink.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
15
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
16 # exec bit problems
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
17 test-convert-bzr-114.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
18 test-convert-bzr-directories.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
19 test-convert-bzr-merges.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
20 test-convert-bzr-treeroot.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
21 test-convert-darcs.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
22 test-merge-tools.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
23
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
24 # debugstate exec bit false positives
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
25 test-dirstate.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
26 test-filebranch.t
6e738a0a3393 tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
27 test-merge-remove.t