[PATCH] Consolidated patch to install contrib/ on posix platforms
Alexis S. L. Carvalho
alexis at cecm.usp.br
Sun Sep 9 14:22:14 CDT 2007
Thus spake Jonathan S. Shapiro:
> # HG changeset patch
> # User Jonathan S. Shapiro <shap at eros-os.com>
> # Date 1188579402 14400
> # Node ID 9085dc8f7de9c2642e1ee690bfc1780b6b2f1a42
> # Parent 694eb9ccb54d9f9c2e63a65368df0fdc9843f98f
> Consolidated patch to install contrib/ on posix platforms.
I have 2 issues with this patch:
- it hard codes /usr/share/mercurial, making it impossible to install it
in another prefix, $HOME in particular (I think - I haven't actually
tested it);
- I'm really not sure we want to install everything in contrib/ like
this.
I think you can make a good argument that hgk should be installed
somewhere, since hgext/hgk.py depends on it, but I'd rather let
distributions decide where to install the other files, _if_ they want
to install them.
For example, the Debian package installs most files in
/usr/share/doc/mercurial/examples, which is a pretty standard place
for this kind of thing in Debian. It also puts the bash completion
file in /etc/bash_completion.d/ and mercurial.el in some emacs
directory, so that both are automatically used.
OTOH it doesn't bother with contrib/win32 and contrib/macosx, which
are not interesting to Debian users.
Alexis
More information about the Mercurial-devel
mailing list