GNU bug report logs - #10709
Feature request: vc-hg should activate smerge-mode for conflicts

Previous Next

Package: emacs;

Reported by: Wolfgang Schnerring <wosc <at> wosc.de>

Date: Fri, 3 Feb 2012 16:32:01 UTC

Severity: wishlist

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 10709 <at> debbugs.gnu.org (full text, mbox):

From: Wolfgang Schnerring <wosc <at> wosc.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 10709 <at> debbugs.gnu.org, Glenn Morris <rgm <at> gnu.org>
Subject: Re: bug#10709: Feature request: vc-hg should activate smerge-mode
	for conflicts
Date: Sat, 4 Feb 2012 10:46:29 +0100
[Message part 1 (text/plain, inline)]
* Stefan Monnier <monnier <at> iro.umontreal.ca> [2012-02-03 14:32]:
> So you're saying that hg uses standard conflict markers in its
> internal:merge code?  Wonderful.

I've just double-checked: yes, it does. Here's an example of a file
with conflicts:

<<<<<<< local
foo = baz
=======
foo = qux
>>>>>>> other

This matches the markers defined in smerge-mode, and invoking
smerge-mode manually on the example file works just fine, just as I
remembered.

> >> Actually I guess vc-hg would need some changes too.
> > Yep, I guess you'd need changes on both ends.
> 
> Apparently only vc-hg.el needs to be changed, then.

Yup, this brings me back to my original chain of thought: vc-hg needs
to learn to detect conflicted files, and the vc-find-file-hook needs
to be ported/abstracted from vc-svn.

Wolfgang
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 12 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.