Patchwork debian: install bash completion as hg and not mercurial (issue4900)

login
register
mail settings
Submitter Augie Fackler
Date Oct. 15, 2015, 3:18 p.m.
Message ID <6028fce2ce9fb4a30bf3.1444922335@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/11105/
State Accepted
Headers show

Comments

Augie Fackler - Oct. 15, 2015, 3:18 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1444848795 14400
#      Wed Oct 14 14:53:15 2015 -0400
# Node ID 6028fce2ce9fb4a30bf3c18f794fb5cae75926c0
# Parent  83b738235f1bfc33a943a63a5d0f5527ac2da736
debian: install bash completion as hg and not mercurial (issue4900)
Matt Mackall - Oct. 16, 2015, 5:46 p.m.
On Thu, 2015-10-15 at 11:18 -0400, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie@google.com>
> # Date 1444848795 14400
> #      Wed Oct 14 14:53:15 2015 -0400
> # Node ID 6028fce2ce9fb4a30bf3c18f794fb5cae75926c0
> # Parent  83b738235f1bfc33a943a63a5d0f5527ac2da736
> debian: install bash completion as hg and not mercurial (issue4900)

Queued for default, thanks.

Patch

diff --git a/contrib/debian/rules b/contrib/debian/rules
--- a/contrib/debian/rules
+++ b/contrib/debian/rules
@@ -32,5 +32,5 @@  override_dh_install:
 	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
+	cp contrib/bash_completion $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions/hg
 	rm $(CURDIR)/debian/mercurial-common/usr/bin/hg