Problem: Emacs hg-mode can override VC keys

Bryan O'Sullivan bos at
Wed Aug 31 18:39:35 CDT 2005

On Wed, 2005-08-31 at 23:32 +0100, P V wrote:

> First pass at making more of a "real" VC mode.
> The advantage of this is that hg commands no longer override VC ones,
> so if you go to a file managed by another VC system e.g.
> C-x v i still works.

I'm sorry, but this patch is not useful.

You've broken a huge amount of behaviour, I don't know which version of
Emacs or vc you've tested against, and I can't tell why you made any of
the changes you did.

It would be more helpful to know what problems you are trying to
address, and to have the patch broken into multiple patches, each of
which does one thing and clearly explains why.

vc's working model (all operations are on single files) is fundamentally
unsuited to any modern SCM, so I am suspicious of any attempt to get
mercurial.el to work closely with it.


More information about the Mercurial mailing list