Patchwork [5,of,5] debian: include bash completions in mercurial-common

login
register
mail settings
Submitter Augie Fackler
Date Sept. 22, 2015, 6:54 p.m.
Message ID <8cab56a8f670d735749f.1442948041@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/10581/
State Accepted
Headers show

Comments

Augie Fackler - Sept. 22, 2015, 6:54 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1442947638 14400
#      Tue Sep 22 14:47:18 2015 -0400
# Node ID 8cab56a8f670d735749f7ecb19b6cb5eab1d655d
# Parent  7c2fdad0044ce76b0a83a5dc1c4dd7f515175f19
debian: include bash completions in mercurial-common
Pierre-Yves David - Sept. 22, 2015, 9:44 p.m.
On 09/22/2015 11:54 AM, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie@google.com>
> # Date 1442947638 14400
> #      Tue Sep 22 14:47:18 2015 -0400
> # Node ID 8cab56a8f670d735749f7ecb19b6cb5eab1d655d
> # Parent  7c2fdad0044ce76b0a83a5dc1c4dd7f515175f19
> debian: include bash completions in mercurial-common

I've pushed these to the clowncopter. Thanks.

Patch

diff --git a/contrib/debian/rules b/contrib/debian/rules
--- a/contrib/debian/rules
+++ b/contrib/debian/rules
@@ -31,4 +31,6 @@  override_dh_install:
 	cp contrib/hgk $(CURDIR)/debian/mercurial-common/usr/share/mercurial
 	mkdir -p $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
 	cp contrib/debian/*.rc $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
+	mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions
+	cp contrib/bash_completion $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions/mercurial
 	rm $(CURDIR)/debian/mercurial-common/usr/bin/hg