Patchwork [stable,v2] debian: configure editor and pager to sensible-\1 by default

login
register
mail settings
Submitter Augie Fackler
Date April 23, 2017, 1:30 p.m.
Message ID <2374f6939cd709e04a7b.1492954208@imladris.local>
Download mbox | patch
Permalink /patch/20281/
State Accepted
Headers show

Comments

Augie Fackler - April 23, 2017, 1:30 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1492878557 14400
#      Sat Apr 22 12:29:17 2017 -0400
# Branch stable
# Node ID 2374f6939cd709e04a7b40febc0e71b1200b770f
# Parent  f82cdd5ee57e468c3801cd340691e9b2497a49b2
debian: configure editor and pager to sensible-\1 by default

Now that environment variables override system-wide hgrc settings, we
can default Mercurial to sensible-editor and sensible-pager by default
for debian users.
Yuya Nishihara - April 23, 2017, 1:57 p.m.
On Sun, 23 Apr 2017 09:30:08 -0400, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie@google.com>
> # Date 1492878557 14400
> #      Sat Apr 22 12:29:17 2017 -0400
> # Branch stable
> # Node ID 2374f6939cd709e04a7b40febc0e71b1200b770f
> # Parent  f82cdd5ee57e468c3801cd340691e9b2497a49b2
> debian: configure editor and pager to sensible-\1 by default

Queued, thanks.

Patch

diff --git a/contrib/debian/default-tools.rc b/contrib/debian/default-tools.rc
new file mode 100644
--- /dev/null
+++ b/contrib/debian/default-tools.rc
@@ -0,0 +1,5 @@ 
+[ui]
+editor = sensible-editor
+
+[pager]
+pager = sensible-pager