Skip to content
Snippets Groups Projects
Commit 0c0aac0334b9 authored by Georges Racinet's avatar Georges Racinet
Browse files

Bundling HGRC file expressing structural and default settings

Some of these could be enforced directly by the `heptapod`
extension, but we want to make sure that they are still
overridable by local admins.
parent 173b438ca8e2
No related branches found
No related tags found
No related merge requests found
[extensions]
heptapod=
hggit=
evolve=
topic=
loggingmod =
[logging]
# see https://dev.heptapod.net/heptapod/hgext-loggingmod/blob/branch/default/README.md
# it is essential for proper GitLab operation that nothing ends up on
# stderr during merges, otherwise it counts as an error.
file = /tmp/mercurial.log
[hooks]
# the heptapod_hooks package gets installed by
# Heptapod's version of the hg-git Python distribution
pretxnclose.heptapod_sync=python:heptapod.hooks.git_sync.mirror
pretxnopen.heptapod_check_write=python:heptapod.hooks.perm.check_write
pretxnclose.heptapod_check_publish=python:heptapod.hooks.check_publish.check_publish
# ordering: higher has more priority. We don't want to rely
# on the order of registration because of possible overrides
# (default value, which most user hooks would have is 0)
# permissions or sanity checks go first
priority.pretxnclose.heptapod_check_publish = 100
# internal git sync should be last, and after any
# user registered ones by default
priority.pretxnclose.heptapod_sync = -100
[experimental]
hg-git.export-named-branches = yes
single-head-per-branch = yes
obshashrange = yes
topic.publish-bare-branch = yes
[web]
push_ssl = no
allow_push = heptapod-write, heptapod-publish
allow_publish = heptapod-publish
[phases]
publish = false
[git]
blockdotgit = false
......@@ -13,6 +13,7 @@
long_description=open('README.md').read(),
keywords='hg mercurial heptapod gitlab',
license='GPLv2+',
package_data=dict(heptapod=['*.hgrc']),
packages=['heptapod', 'hgext3rd'],
install_requires=install_req,
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment