[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: your vc-hg.el change

From: Chong Yidong
Subject: Re: your vc-hg.el change
Date: Mon, 24 Nov 2008 10:52:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Glenn Morris <address@hidden> writes:

>> +2008-11-22  Glenn Morris  <address@hidden>
>> +
>> +       * vc-hg.el (vc-hg-program): New option.
>> +       (vc-hg-state, vc-hg-working-revision, vc-hg-command):
>> +       Use vc-hg-program rather than hard-coded "hg".
>> Why was it done?  Did any user request it?
> Yes.
> http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00286.html

Norman Gray wrote:

> > Within vc-hg.el, the "hg" command is hard-wired as that precise
> > string, rather than being configurable. This is awkward for me at
> > least, since I organise myself so that tools (potentially in
> > multiple different versions) are kept out of /usr/local and similar,
> > and paged in and out via per-shell adjustments to PATH. But that
> > means that hg typically isn't on the default path that emacs picks
> > up.

This exotic setup is probably not a reason to change vc-hg, especially
when there is no equivalent in the other VC backends.  Maybe OP can come
up with a different way to do what he wants (e.g., advising the VC
functions to swap in the correct path).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]