.hgrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 13 Mar 2013 21:38:18 +0200
changeset 622 f5b9226c2e4a
parent 261 d8ec70cb1e4c
child 626 ec0fb611d885
permissions -rw-r--r--
Bind "M-Right" to 'menu-complete'. Useful in Python with readline completion from Emacs...
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]
151
03f294e76a50 Follow history after rename.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 145
diff changeset
    14
log = -v -f
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
198
6fd142910e94 Use git diff style to show file permission changes.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 158
diff changeset
    17
diff = --git
59
9c0a6fa1b7bd Added hg config.
user@localhost
parents:
diff changeset
    18
145
90f8794f2290 Add emacs merge tool.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 132
diff changeset
    19
[merge-tools]
90f8794f2290 Add emacs merge tool.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 132
diff changeset
    20
emacs.args = -q --eval "(ediff-merge-with-ancestor \"$local\" \"$other\" \"$base\" nil \"$output\")"
90f8794f2290 Add emacs merge tool.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 132
diff changeset
    21
62
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
    22
[web]
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
    23
encoding = utf-8
54e803acda8f Set file encoding. Fix merge command. Added win32 enc/dec example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 60
diff changeset
    24
59
9c0a6fa1b7bd Added hg config.
user@localhost
parents:
diff changeset
    25
[extensions]
118
2306b12ff466 Add comments and remove 'win32text' extensions stuff.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 111
diff changeset
    26
; To allow 'fetch' command.
59
9c0a6fa1b7bd Added hg config.
user@localhost
parents:
diff changeset
    27
hgext.fetch =
118
2306b12ff466 Add comments and remove 'win32text' extensions stuff.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 111
diff changeset
    28
; 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
    29
hgext.mq =
118
2306b12ff466 Add comments and remove 'win32text' extensions stuff.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 111
diff changeset
    30
; To import revisions from foreign VCS repositories into Mercurial.
102
f4b817fa0204 Enable convert Mercurial extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 62
diff changeset
    31
hgext.convert =
111
b89337474d09 Enable Graph log extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 102
diff changeset
    32
; Usage:  hg glog <dir>
b89337474d09 Enable Graph log extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 102
diff changeset
    33
hgext.graphlog =
118
2306b12ff466 Add comments and remove 'win32text' extensions stuff.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 111
diff changeset
    34
; Enable '.hgeol' tracking (fix for CR/LF).
2306b12ff466 Add comments and remove 'win32text' extensions stuff.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 111
diff changeset
    35
hgext.eol =
158
1df00afab192 Allow cherry-picking.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 151
diff changeset
    36
; Allow cherry-picking.
1df00afab192 Allow cherry-picking.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 151
diff changeset
    37
transplant =
232
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    38
; Show progress on operations.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    39
progress =
261
d8ec70cb1e4c Enable hgext.purge.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 260
diff changeset
    40
; Delete untracked files from the working directory.
d8ec70cb1e4c Enable hgext.purge.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 260
diff changeset
    41
hgext.purge=
232
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    42
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    43
[progress]
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    44
; Number of seconds (float) before showing the progress bar.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    45
delay = 2
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    46
; Time in seconds between refreshes of the progress bar.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    47
refresh = 0.5
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    48
; Format of the progress bar: topic bar number estimate.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    49
format = topic bar number estimate
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    50
; 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
    51
clear-complete = False
232
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    52
; If true, don't show a progress bar.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    53
disable = False
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    54
; 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
    55
assume-tty = False
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    56
259
dea2aa21eb9d Add groups this was trusted.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 233
diff changeset
    57
[trusted]
260
20940d2e3421 Add URL.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 259
diff changeset
    58
; http://mercurial.selenic.com/wiki/Trust
259
dea2aa21eb9d Add groups this was trusted.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 233
diff changeset
    59
; Do not include: nobody.
dea2aa21eb9d Add groups this was trusted.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 233
diff changeset
    60
groups = apache, daemon, www-data