Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: hgrc

Issue 29336739: Add recommended hgrc (Closed)
Patch Set: Address comments, plus some other changes Created Feb. 20, 2016, 8:15 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: hgrc
===================================================================
new file mode 100644
--- /dev/null
+++ b/hgrc
@@ -0,0 +1,105 @@
+# 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 do either 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 Bloggs <jane@adblockplus.org>
+
+## Diff (i.e. patch) format configuration
+[diff]
+
+# We ue Git's extended diff format which includes more information (such as
+# changes to binary files).
+git = true
+
+## 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, 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 "tip" by default, which is just the latest changeset, on
+# any branch. You most likely want to update to the "master" bookmark instead,
+# which you can do by adding `--updaterev master`. By uncommenting the following
+# line, you won't have to worry about that:
+#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:
+#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 =
+
+# Configuration for the pager extension. This doesn't have any effect unless
+# you enable the pager extension above.
+[pager]
+pager = LESS='FSRX' less
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld