Mercurial > hgsubversion
diff hgsubversion/help/subversion.rst @ 1478:797c7b58a735
maps: add a config option to tweak sqlite
Sqlite is highly configurable by PRAGMA statements [1]. This patch adds
a config option to give the user changes to tweak them.
[1]: https://www.sqlite.org/pragma.html
author | Jun Wu <quark@fb.com> |
---|---|
date | Thu, 23 Jun 2016 20:03:30 +0100 |
parents | 6bc2a2f61923 |
children | ddfd60760fac |
line wrap: on
line diff
--- a/hgsubversion/help/subversion.rst +++ b/hgsubversion/help/subversion.rst @@ -362,6 +362,15 @@ settings: If it is set to an implementation different from what the repo is using, a migration will run automatically when the revision map is accessed. + ``hgsubversion.sqlitepragmas`` + + A list of sqlite PRAGMA statements to tweak sqlite. Each item should be + in the format ``key=value`` without ``PRAGMA``, or spaces, or quotation + marks. Refer to https://www.sqlite.org/pragma.html for possible options. + + For example, setting it to ``synchronous=0, journal_mode=memory`` will + give you better performance at the cost of possible database corruption. + ``hgsubversion.stupid`` Setting this boolean option to true will force using a slower method for pulling revisions from Subversion. This method is compatible with servers