GNU bug report logs - #488
VC error: mark-resolved not implemented for CVS

Previous Next

Package: emacs;

Reported by: Chong Yidong <cyd <at> stupidchicken.com>

Date: Thu, 26 Jun 2008 21:50:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #18 received at 488-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: Dan Nicolaescu <dann <at> ics.uci.edu>, 488-done <at> debbugs.gnu.org
Subject: Re: VC mark-resolved
Date: Wed, 24 Sep 2008 16:23:57 -0400
>>>> > > CVS is hardly alone.  In fact, it seems that no other back-end
>>>> > > implements the mark-resolved action: I tried grepping for
>>>> > > `mark-resolved' in the vc-*.el files and came up with nothing.
>>>> > 
>>>> > There should be a (defalias 'vc-cvs-mark-resolved 'ignore)
>>>> > Or maybe even (defalias 'vc-default-mark-resolved 'ignore).
>>>> > But in any case, it seems like the mark-resolved thingy was not
>>>> > fully implemented if none of the backends define it.
>>>> 
>>>> Yep, a pointer to a relevant discussion: 
>>>> http://article.gmane.org/gmane.emacs.devel/94816
>> 
>>> I checked in a new function, vc-default-mark-resolved, into vc.el.  It
>>> does nothing except issue a message saying the conflict is resolved.
>>> Someone else can write the vc-*-mark-resolved functions at a later date;
>>> for now, at least `C-x v v' doesn't get stuck at the error.
>> 
>> Thank you.  It shouldn't issue a message, tho: if we want it, we'd want
>> it in the backend-independent part of the code.

> If it doesn't issue a message, then there would be no feedback to the
> user that `C-x v v' did anything.  That could be confusing.

Again, if we want feedback, we need it to be in the backend-independent
part of the code, not in the vc-*-mark-resolved method.


        Stefan




This bug report was last modified 15 years and 148 days ago.

Previous Next


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