.hgrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 27 Mar 2015 15:05:50 +0200
changeset 737 ead952765cf1
parent 732 5168dff8f1eb
child 776 6b37ae369769
permissions -rw-r--r--
Add a lot of formats.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
62
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
     1
; -*- mode: ini-generic; coding: utf-8 -*-
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
     2
60
0980cc675a28 Added user name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 59
diff changeset
     3
[ui]
118
2306b12ff466 Add comments and remove 'win32text' extensions stuff.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 111
diff changeset
     4
; Who are you?
60
0980cc675a28 Added user name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 59
diff changeset
     5
username = Oleksandr Gavenko <gavenkoa@gmail.com>
118
2306b12ff466 Add comments and remove 'win32text' extensions stuff.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 111
diff changeset
     6
; Use internal merge engine. When merge fail you see <<<<<< ====== >>>>>> and a .orig file.
62
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
     7
merge = internal:merge
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
     8
editor = emacs -q
132
a2d359154fb7 Add ignore file to listen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 118
diff changeset
     9
ignore = ~/.hgignore
60
0980cc675a28 Added user name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 59
diff changeset
    10
229
c351b7891093 Add own style for HG to print date in ISO 8601 format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 198
diff changeset
    11
style = ~/.hgstyle
c351b7891093 Add own style for HG to print date in ISO 8601 format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 198
diff changeset
    12
59
9c0a6fa1b7bd Added hg config.
user@localhost
parents:
diff changeset
    13
[defaults]
626
ec0fb611d885 Remove follow (-v) option as it forbid VC-mode from listening history on
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 261
diff changeset
    14
log = -v
59
9c0a6fa1b7bd Added hg config.
user@localhost
parents:
diff changeset
    15
incoming = -v
9c0a6fa1b7bd Added hg config.
user@localhost
parents:
diff changeset
    16
outgoing = -v
699
0a3d5a4d5f74 Prevent creation of .orig files after revert.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 696
diff changeset
    17
revert = --no-backup
652
4371bfe8ea96 Set useful "hg diff" defaults.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 626
diff changeset
    18
732
5168dff8f1eb rebasedraft alias for rebasing unpublished changes in current branch
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 723
diff changeset
    19
[alias]
5168dff8f1eb rebasedraft alias for rebasing unpublished changes in current branch
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 723
diff changeset
    20
rebasedraft = rebase -s 'draft() & branch(.)' -d 'public() & branch(.)'
5168dff8f1eb rebasedraft alias for rebasing unpublished changes in current branch
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 723
diff changeset
    21
652
4371bfe8ea96 Set useful "hg diff" defaults.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 626
diff changeset
    22
[diff]
4371bfe8ea96 Set useful "hg diff" defaults.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 626
diff changeset
    23
git = 1
4371bfe8ea96 Set useful "hg diff" defaults.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 626
diff changeset
    24
unified = 5
4371bfe8ea96 Set useful "hg diff" defaults.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 626
diff changeset
    25
showfunc = 1
59
9c0a6fa1b7bd Added hg config.
user@localhost
parents:
diff changeset
    26
684
95b15ebd8e1e Ignore whitespaces when doing source annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 652
diff changeset
    27
[annotate]
95b15ebd8e1e Ignore whitespaces when doing source annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 652
diff changeset
    28
ignorews = True
95b15ebd8e1e Ignore whitespaces when doing source annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 652
diff changeset
    29
ignorewsamount = True
95b15ebd8e1e Ignore whitespaces when doing source annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 652
diff changeset
    30
ignoreblanklines = True
95b15ebd8e1e Ignore whitespaces when doing source annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 652
diff changeset
    31
62
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
    32
[web]
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
    33
encoding = utf-8
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
    34
59
9c0a6fa1b7bd Added hg config.
user@localhost
parents:
diff changeset
    35
[extensions]
723
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    36
mq=
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    37
eol=
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    38
convert=
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    39
purge=
706
2321f26b7ef4 Disable transplant in flavor of graft.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 702
diff changeset
    40
shelve=
723
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    41
rebase=
706
2321f26b7ef4 Disable transplant in flavor of graft.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 702
diff changeset
    42
record=
232
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    43
723
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    44
graphlog=
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    45
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    46
color=
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    47
pager=
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    48
progress=
702
256fe94759e8 Enable pager extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 699
diff changeset
    49
690
95db953511d6 Do not allow pull/push MQ temporary changesets.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 689
diff changeset
    50
[mq]
95db953511d6 Do not allow pull/push MQ temporary changesets.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 689
diff changeset
    51
secret=true
95db953511d6 Do not allow pull/push MQ temporary changesets.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 689
diff changeset
    52
702
256fe94759e8 Enable pager extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 699
diff changeset
    53
[pager]
256fe94759e8 Enable pager extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 699
diff changeset
    54
pager = LESS='RX' less
714
973f92e92065 Use oages for in/out command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 707
diff changeset
    55
attend = annotate, cat, diff, export, glog, log, qdiff, tip, in, out
702
256fe94759e8 Enable pager extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 699
diff changeset
    56
232
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    57
[progress]
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    58
; Number of seconds (float) before showing the progress bar.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    59
delay = 2
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    60
; Time in seconds between refreshes of the progress bar.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    61
refresh = 0.5
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    62
; Format of the progress bar: topic bar number estimate.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    63
format = topic bar number estimate
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    64
; Clear the progress bar after it's done.
233
313f5e4493d8 Preserve progress line after compilting of operation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 232
diff changeset
    65
clear-complete = False
232
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    66
; If true, don't show a progress bar.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    67
disable = False
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    68
; If true, ALWAYS show a progress bar, unless disable is given.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    69
assume-tty = False
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    70
259
dea2aa21eb9d Add groups this was trusted.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 233
diff changeset
    71
[trusted]
260
20940d2e3421 Add URL.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 259
diff changeset
    72
; http://mercurial.selenic.com/wiki/Trust
259
dea2aa21eb9d Add groups this was trusted.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 233
diff changeset
    73
; Do not include: nobody.
dea2aa21eb9d Add groups this was trusted.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 233
diff changeset
    74
groups = apache, daemon, www-data