Software /
code /
prosody
Annotate
doc/hgrc.ini @ 13183:33b114fbb5de
util.datamanager: Add way to efficiently remove first items in a list
Copying data without parsing it should be more performant than parsing
it serializing back.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 12 Jul 2023 11:42:41 +0200 |
parent | 13129:7039d0ec11c3 |
rev | line source |
---|---|
13129
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 [paths] |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 default = https://hg.prosody.im/trunk/ |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 default:pushrev = . |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 default:pushurl = ssh://hg@hg.prosody.im/prosody-hg/ |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 contrib = https://hg.prosody.im/contrib/ |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 contrib:bookmarks.mode = ignore |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 contrib:pushrev = . |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 contrib:pushurl = ssh://hg@hg.prosody.im/contrib/ |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
10 |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
11 [ui] |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
12 |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
13 # The Mercurial project recommends enabling tweakdefaults to get slight |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
14 # improvements to the UI over time. Make sure to set HGPLAIN in the environment |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
15 # when writing scripts! |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
16 tweakdefaults = True |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
17 |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
18 [phases] |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
19 # Disable marking changesets as published when pushing to a local repository |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
20 publish = False |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
21 |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
22 [revsetalias] |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
23 # Convenient alias to find current trunk revision |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
24 trunk = last(public() and branch("default")) |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
25 [experimental] |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
26 # Require changes to have a topic branch |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
27 topic-mode = enforce |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
28 |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
29 [fix] |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
30 trailing-whitespace:command = sed |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
31 trailing-whitespace:linerange = -e '{first},{last}s/\s\+$//' |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
32 trailing-whitespace:pattern = set:not binary() |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
33 |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
34 astyle:command = astyle --indent=tab --attach-classes --indent-switches --break-blocks --pad-oper --unpad-paren --add-braces --align-pointer=name --lineend=linux |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
35 astyle:pattern = set:**.c |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
36 json:command = json_pp -json_opt canonical,pretty |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
37 json:pattern = set:**.json |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
38 |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
39 [extensions] |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
40 # The Mercurial Changeset Evolution plugin is strongly recommended |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
41 evolve = |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
42 # support for topic branches |
7039d0ec11c3
doc/hgrc: Some useful Mercurial settings
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
43 topic = |