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 22:53:00 +0300 Message-ID: <83h9mnmtwj.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> <83oagvn1lz.fsf@gnu.org> <56003D57.2080102@yandex.ru> <83mvwfmviy.fsf@gnu.org> <56005B96.2090006@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1442865192 671 80.91.229.3 (21 Sep 2015 19:53:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Sep 2015 19:53:12 +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 21:53:03 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 1Ze792-0006EY-C9 for ged-emacs-devel@m.gmane.org; Mon, 21 Sep 2015 21:53:00 +0200 Original-Received: from localhost ([::1]:60887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze791-0000Ae-PB for ged-emacs-devel@m.gmane.org; Mon, 21 Sep 2015 15:52:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze78x-00007c-EO for emacs-devel@gnu.org; Mon, 21 Sep 2015 15:52:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ze78u-0003wA-8h for emacs-devel@gnu.org; Mon, 21 Sep 2015 15:52:55 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:46264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze78t-0003vr-QT for emacs-devel@gnu.org; Mon, 21 Sep 2015 15:52:52 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NV100400LVBVO00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 21 Sep 2015 22:52:50 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NV1004HRLW1VI00@a-mtaout22.012.net.il>; Mon, 21 Sep 2015 22:52:50 +0300 (IDT) In-reply-to: <56005B96.2090006@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.172 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:190214 Archived-At: > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > From: Dmitry Gutov > Date: Mon, 21 Sep 2015 22:33:42 +0300 > > On 09/21/2015 10:17 PM, Eli Zaretskii wrote: > > > Yes, it does. From the description of "cvs admin": > > ... > > `-oRANGE' > > Deletes ("outdates") the revisions given by RANGE. > > > > (It then goes on to describe the syntax of RANGE, basically > > REV1::REV2.) > > Can it remove revisions from the tip, too? Yes. > >> 'git revert', by itself, doesn't affect the remote either. > > > > Indeed, so what is the reason not to use it as "rollback"? > > Like it's been said, 'rcs rollback' removes a revision from history > (right?). 'git revert' doesn't. Because it's impossible. But it does the closest thing possible. > That's an inconsistency that can be surprising for a user. I don't see this as an argument not to have the capability. > Otherwise, 'git reset' and 'git revert' are roughly equivalent in this > regard. It's just that 'git push' will fail upon being called after the > former, in certain circumstances. The idea of the proposal, namely, call 'revert' when 'reset' followed by 'push' would fail, was to avoid the failure.