comparison 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
comparison
equal deleted inserted replaced
1477:a4f77acf7051 1478:797c7b58a735
360 ``plain``. 360 ``plain``.
361 361
362 If it is set to an implementation different from what the repo is using, 362 If it is set to an implementation different from what the repo is using,
363 a migration will run automatically when the revision map is accessed. 363 a migration will run automatically when the revision map is accessed.
364 364
365 ``hgsubversion.sqlitepragmas``
366
367 A list of sqlite PRAGMA statements to tweak sqlite. Each item should be
368 in the format ``key=value`` without ``PRAGMA``, or spaces, or quotation
369 marks. Refer to https://www.sqlite.org/pragma.html for possible options.
370
371 For example, setting it to ``synchronous=0, journal_mode=memory`` will
372 give you better performance at the cost of possible database corruption.
373
365 ``hgsubversion.stupid`` 374 ``hgsubversion.stupid``
366 Setting this boolean option to true will force using a slower method for 375 Setting this boolean option to true will force using a slower method for
367 pulling revisions from Subversion. This method is compatible with servers 376 pulling revisions from Subversion. This method is compatible with servers
368 using very old versions of Subversion, and hgsubversion falls back to it 377 using very old versions of Subversion, and hgsubversion falls back to it
369 when necessary. 378 when necessary.