-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathhgrc
117 lines (95 loc) · 4.26 KB
/
hgrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# This .hgrc is recommended for working on the Adblock Plus project.
#
# When using this as your .hgrc as-is, it provides a nicer user interface and
# enables some extensions that are useful for working on pretty much any
# project.
#
# The commented parts either do not work on all systems, are a matter of taste,
# or specific to the Adblock Plus project and might not make sense for everyone.
# Have a good look and decide for yourself what you want to enable.
## User interface controls
[ui]
# Sets your global user name. If you do not uncomment this, you will have to
# set it on a per-repository basis.
#username = Jane Doe <[email protected]>
## Diff (i.e. patch) format configuration
[diff]
# We use Git's extended diff format which includes more information (such as
# changes to binary files).
git = true
# Makes diff output include eight lines of context.
unified = 8
## Defaults
#
# These change the default behaviour of common Mercurial commands.
[defaults]
# `hg log` shows the history of all branches by default, not just that of the
# current branch. The `--graph` option shows this as an ASCII tree and marks
# the revision you are currently at, which makes the history a lot easier to
# read.
log = --graph
# The "master" bookmark
#
# Most repositories of the Adblock Plus project use bookmarked branches to track
# multiple lines of development. The bookmark for the main line of development
# is, by convention, called "master".
#
# Unless you are working with Mercurial repositories that do not have a "master"
# bookmark, it is recommended that you uncomment the following defaults.
# `hg clone` updates to the latest changeset on the default branch. When working
# with repositories that have a "master" branch, you will want to update to that
# one instead, which you can do by adding `--updaterev master`. By uncommenting
# the following line, you won't have to worry about that. Note that when
# enabling this, you can still update to the latest changeset in the default
# branch by specifying `--updaterev default`.
#clone = --updaterev master
# `hg push` and `hg outgoing` will by default include all changesets, including
# bookmarked branches that you might want to just keep locally. To avoid this,
# you need to add `--rev master`. By uncommenting the following two lines, you
# won't have to worry about that. Note that when enabling this, you can still
# push any branch by specifying the `--rev` option.
#push = --rev master
#outgoing = --rev master
## Extensions
#
# Mercurial is, out of the box, fairly minimal. A lot of useful functionality
# comes as extensions. Most of the useful extensions are even part of the
# default Mercurial distribution, but not enabled by default.
[extensions]
# Progress extension, shows an ASCII progress bar for operations that take
# longer.
progress =
# Color extension, colors the output of commands like `hg log`. Enable it if
# your terminal supports colors (assuming you like colors).
#color =
# Pager extension, shows the output of commands like `hg log` in the terminal
# pager (e.g. less) configured below in the [pager] section.
#pager =
# Record extension, provides the `hg record` command that allows you to make
# partial commits.
record =
# Purge extension, provides the `hg purge` (aliased to `hg clean`) command that
# allows you to remove unversioned files.
purge =
# Rebase extension, provides the `hg rebase` command, see:
# https://www.mercurial-scm.org/wiki/RebaseExtension
rebase =
# Strip extension, provides the `hg strip` command that allows you to remove
# existing changesets.
strip =
# Histedit extension. Provides the `hg histedit` command that allows you to
# change and merge existing changesets, see:
# https://www.mercurial-scm.org/wiki/HisteditExtension
histedit =
# Shelve extension, provides the `hg shelve` command that allows you to set
# pending changes aside, see:
# https://www.mercurial-scm.org/wiki/ShelveExtension
shelve =
# Review extension, provides the `hg review` command that makes it easier to
# upload reviews to codereview.adblockplus.org. You need to adjust the path
# so that it points to hgreview.py file in this repository.
#review = /path/to/codingtools/hgreview.py
# Configuration for the pager extension. This doesn't have any effect unless
# you enable the pager extension above.
[pager]
pager = LESS='FSRX' less