emacs-devel
[Top][All Lists]
Advanced

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

Re: Removing rollback from VC mode - request for comment


From: Eric S. Raymond
Subject: Re: Removing rollback from VC mode - request for comment
Date: Sat, 13 Dec 2014 08:41:55 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

Richard Stallman <address@hidden>:
>   > > That was always the reason I used vc-rollback, and it seemed to do
>   > > that job just fine.  What's lacking?
> 
>   > Leaving the *modified* workfile in place rather than reverting it.
> 
> That's not a bug, that's a feature.  When I used C-x v c, I wanted to
> cancel the last checkin and keep the current file contents.  Then I
> would do a new checkin.

One of us is confused, possibly me. That's how Stefan and I meant it
should work, too - that's what we mean by "uncommit".  Maybe rollback
worked that way at one time, but the RCS code before I deleted it said
this:

            ;; Check out the most recent remaining version.  If it
            ;; fails, because the whole branch got deleted, do a
            ;; double-take and check out the version where the branch
            ;; started.

It was followed by co -u.  So either it never worked the way all three
of us think it should, or it did at one time but someone "corrected" it
to leave the master and workfile in what they thought was a more coherent
state. The latter seems not unlikely.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

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