emacs-devel
[Top][All Lists]
Advanced

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

Re: RCS, again: another removed functionality: undo last-checkin


From: Eli Zaretskii
Subject: Re: RCS, again: another removed functionality: undo last-checkin
Date: Mon, 21 Sep 2015 20:06:32 +0300

> From: Dmitry Gutov <address@hidden>
> Date: Mon, 21 Sep 2015 19:58:34 +0300
> Cc: address@hidden, address@hidden
> 
> On 09/21/2015 07:07 PM, Eli Zaretskii wrote:
> 
> >>> If the commit was already pushed, you will need "git revert" instead,
> >>> I think.
> >>
> >> What does RCS do in this case?
> >
> > There's no "push" in RCS.
> 
> Then I think the correspondence of RCS commands will be Git commands 
> that act similarly on the local repository.

But what about CVS?  Its "rollback" command does remove the commit
upstream.

> Then 'git reset --hard HEAD^' is a better match, because, like someone 
> explained, the point of 'rcs rollback' is to remove the revision in 
> question from history.

Going from RCS to Git needs some generalization, so if Git's rollback
will affect the remote, when it should, it's OK, I think.



reply via email to

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