.hgrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 09 Jan 2015 23:31:59 +0200
changeset 722 9bd7ce98c7ce
parent 714 973f92e92065
child 723 68eebcb5b0bb
permissions -rw-r--r--
colored-stats
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
4371bfe8ea96 Set useful "hg diff" defaults.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 626
diff changeset
    19
[diff]
4371bfe8ea96 Set useful "hg diff" defaults.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 626
diff changeset
    20
git = 1
4371bfe8ea96 Set useful "hg diff" defaults.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 626
diff changeset
    21
unified = 5
4371bfe8ea96 Set useful "hg diff" defaults.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 626
diff changeset
    22
showfunc = 1
59
9c0a6fa1b7bd Added hg config.
user@localhost
parents:
diff changeset
    23
684
95b15ebd8e1e Ignore whitespaces when doing source annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 652
diff changeset
    24
[annotate]
95b15ebd8e1e Ignore whitespaces when doing source annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 652
diff changeset
    25
ignorews = True
95b15ebd8e1e Ignore whitespaces when doing source annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 652
diff changeset
    26
ignorewsamount = True
95b15ebd8e1e Ignore whitespaces when doing source annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 652
diff changeset
    27
ignoreblanklines = True
95b15ebd8e1e Ignore whitespaces when doing source annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 652
diff changeset
    28
62
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
    29
[web]
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
    30
encoding = utf-8
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
    31
59
9c0a6fa1b7bd Added hg config.
user@localhost
parents:
diff changeset
    32
[extensions]
118
2306b12ff466 Add comments and remove 'win32text' extensions stuff.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 111
diff changeset
    33
; To allow Mercurial Queues.
62
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
    34
hgext.mq =
118
2306b12ff466 Add comments and remove 'win32text' extensions stuff.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 111
diff changeset
    35
; To import revisions from foreign VCS repositories into Mercurial.
102
f4b817fa0204 Enable convert Mercurial extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 62
diff changeset
    36
hgext.convert =
706
2321f26b7ef4 Disable transplant in flavor of graft.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 702
diff changeset
    37
graphlog =
118
2306b12ff466 Add comments and remove 'win32text' extensions stuff.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 111
diff changeset
    38
; Enable '.hgeol' tracking (fix for CR/LF).
2306b12ff466 Add comments and remove 'win32text' extensions stuff.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 111
diff changeset
    39
hgext.eol =
696
830e42c4a624 To removing untracked files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 694
diff changeset
    40
purge =
706
2321f26b7ef4 Disable transplant in flavor of graft.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 702
diff changeset
    41
shelve=
694
4085f6499252 Enable rebase extantion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 690
diff changeset
    42
rebase =
706
2321f26b7ef4 Disable transplant in flavor of graft.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 702
diff changeset
    43
record=
232
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    44
702
256fe94759e8 Enable pager extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 699
diff changeset
    45
color =
256fe94759e8 Enable pager extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 699
diff changeset
    46
pager =
256fe94759e8 Enable pager extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 699
diff changeset
    47
progress =
256fe94759e8 Enable pager extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 699
diff changeset
    48
690
95db953511d6 Do not allow pull/push MQ temporary changesets.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 689
diff changeset
    49
[mq]
95db953511d6 Do not allow pull/push MQ temporary changesets.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 689
diff changeset
    50
secret=true
95db953511d6 Do not allow pull/push MQ temporary changesets.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 689
diff changeset
    51
702
256fe94759e8 Enable pager extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 699
diff changeset
    52
[pager]
256fe94759e8 Enable pager extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 699
diff changeset
    53
pager = LESS='RX' less
714
973f92e92065 Use oages for in/out command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 707
diff changeset
    54
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
    55
232
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    56
[progress]
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    57
; Number of seconds (float) before showing the progress bar.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    58
delay = 2
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    59
; Time in seconds between refreshes of the progress bar.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    60
refresh = 0.5
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    61
; Format of the progress bar: topic bar number estimate.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    62
format = topic bar number estimate
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    63
; 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
    64
clear-complete = False
232
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    65
; If true, don't show a progress bar.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    66
disable = False
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    67
; 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
    68
assume-tty = False
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    69
259
dea2aa21eb9d Add groups this was trusted.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 233
diff changeset
    70
[trusted]
260
20940d2e3421 Add URL.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 259
diff changeset
    71
; http://mercurial.selenic.com/wiki/Trust
259
dea2aa21eb9d Add groups this was trusted.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 233
diff changeset
    72
; Do not include: nobody.
dea2aa21eb9d Add groups this was trusted.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 233
diff changeset
    73
groups = apache, daemon, www-data