From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: RCS, again: another removed functionality: undo last-checkin Date: Mon, 21 Sep 2015 20:06:32 +0300 Message-ID: <83oagvn1lz.fsf@gnu.org> References: <87oagx6tzz.fsf@mat.ucm.es> <55FF4026.2050004@yandex.ru> <83si68nu4i.fsf@gnu.org> <56000DEB.1000306@yandex.ru> <83si67n4ch.fsf@gnu.org> <5600373A.6090206@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1442855221 30020 80.91.229.3 (21 Sep 2015 17:07:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Sep 2015 17:07:01 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 21 19:06:46 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ze4Y8-0001Fg-Of for ged-emacs-devel@m.gmane.org; Mon, 21 Sep 2015 19:06:44 +0200 Original-Received: from localhost ([::1]:59874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze4Y8-0002ru-7a for ged-emacs-devel@m.gmane.org; Mon, 21 Sep 2015 13:06:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze4Xt-0002ri-OW for emacs-devel@gnu.org; Mon, 21 Sep 2015 13:06:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ze4Xo-0003jM-Sd for emacs-devel@gnu.org; Mon, 21 Sep 2015 13:06:29 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:39269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze4Xo-0003iv-Ku for emacs-devel@gnu.org; Mon, 21 Sep 2015 13:06:24 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NV100K00E3X1500@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Mon, 21 Sep 2015 20:06:23 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NV100JWAE6MW7A0@a-mtaout21.012.net.il>; Mon, 21 Sep 2015 20:06:23 +0300 (IDT) In-reply-to: <5600373A.6090206@yandex.ru> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:190201 Archived-At: > From: Dmitry Gutov > Date: Mon, 21 Sep 2015 19:58:34 +0300 > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > > 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.