.hgrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 01 Jan 2024 20:53:49 +0200
changeset 1039 78cdb4a057e3
parent 974 4d731b1de550
permissions -rw-r--r--
Create symlink from ~/.bash_profile for login shell to activate my ~/.bashrc.
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
776
6b37ae369769 Use terminal emacsclient as EDITOR.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 732
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=
974
4d731b1de550 Enabled Mercirial extension: histedit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 794
diff changeset
    42
histedit =
706
2321f26b7ef4 Disable transplant in flavor of graft.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 702
diff changeset
    43
record=
794
62c7121c2f88 "graft" extension built-in, "transplant" is depricated.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 779
diff changeset
    44
; transplant=
62c7121c2f88 "graft" extension built-in, "transplant" is depricated.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 779
diff changeset
    45
; graft=
232
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    46
723
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    47
graphlog=
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    48
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    49
color=
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    50
pager=
68eebcb5b0bb Get out outdated syntax for plug-in enabling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 714
diff changeset
    51
progress=
779
7ff592f4cf72 churn extension - review commit statistic.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 776
diff changeset
    52
churn=
702
256fe94759e8 Enable pager extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 699
diff changeset
    53
690
95db953511d6 Do not allow pull/push MQ temporary changesets.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 689
diff changeset
    54
[mq]
95db953511d6 Do not allow pull/push MQ temporary changesets.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 689
diff changeset
    55
secret=true
95db953511d6 Do not allow pull/push MQ temporary changesets.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 689
diff changeset
    56
702
256fe94759e8 Enable pager extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 699
diff changeset
    57
[pager]
256fe94759e8 Enable pager extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 699
diff changeset
    58
pager = LESS='RX' less
714
973f92e92065 Use oages for in/out command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 707
diff changeset
    59
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
    60
232
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    61
[progress]
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    62
; Number of seconds (float) before showing the progress bar.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    63
delay = 2
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    64
; Time in seconds between refreshes of the progress bar.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    65
refresh = 0.5
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    66
; Format of the progress bar: topic bar number estimate.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    67
format = topic bar number estimate
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    68
; 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
    69
clear-complete = False
232
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    70
; If true, don't show a progress bar.
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    71
disable = False
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    72
; 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
    73
assume-tty = False
ceade72317bd Show progress on operations.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 229
diff changeset
    74
259
dea2aa21eb9d Add groups this was trusted.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 233
diff changeset
    75
[trusted]
260
20940d2e3421 Add URL.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 259
diff changeset
    76
; http://mercurial.selenic.com/wiki/Trust
259
dea2aa21eb9d Add groups this was trusted.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 233
diff changeset
    77
; Do not include: nobody.
dea2aa21eb9d Add groups this was trusted.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 233
diff changeset
    78
groups = apache, daemon, www-data