From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: RCS, again: another removed functionality: undo last-checkin Date: Wed, 23 Sep 2015 17:49:44 +0300 Message-ID: <5602BC08.2000901@yandex.ru> 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> <83h9mnmtwj.fsf@gnu.org> <560152B5.7090005@yandex.ru> <8337y6mut5.fsf@gnu.org> <5601A504.4080807@yandex.ru> <83r3lql1gj.fsf@gnu.org> <56023E8A.4020209@yandex.ru> <83d1x9lizj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1443019812 30048 80.91.229.3 (23 Sep 2015 14:50:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Sep 2015 14:50:12 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 23 16:50:04 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 1ZelMx-00067W-En for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2015 16:50:03 +0200 Original-Received: from localhost ([::1]:48348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZelMx-0000r1-04 for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2015 10:50:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZelMo-0000oz-QB for emacs-devel@gnu.org; Wed, 23 Sep 2015 10:50:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZelMj-0000fW-Qh for emacs-devel@gnu.org; Wed, 23 Sep 2015 10:49:54 -0400 Original-Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:37474) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZelMj-0000fQ-Jc; Wed, 23 Sep 2015 10:49:49 -0400 Original-Received: by wicfx3 with SMTP id fx3so72973620wic.0; Wed, 23 Sep 2015 07:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=2MKoTxfdHceFUcVTkaQK8xpPLcPJof7OhRb3GXMhQlU=; b=homeDTi7GAc52hsvXBm+oluqXG3RGRpyA+hyTwgJvMUOCAWQ7ZP2XgzBZ0tW00/XFV P3Ot4eR2dp/7/HsKOBslsPKWO6Uky308eQoodKTrv3RpnchGgv/6blFxwlJU+eR7bfE0 8u1iHZdtMtiNaJIACrFwLVzyKYz6PHX0/eizG4Wm49uQKui2J3uP4ElF/qN5iPHh8jrc OXSqiN1WMyk+z7o7a8JveybJjFTWAUrzWYS1jJ9PCc3opkh4oB+CAw6LBdxI+uVGyjlx Nrnv2zEhXUrTnGCO3amGU7/29P2glAmRAbKjMb7GpofWNtI4zyzKUVygc6ec6VygllW2 y9zA== X-Received: by 10.180.11.212 with SMTP id s20mr4418352wib.40.1443019788907; Wed, 23 Sep 2015 07:49:48 -0700 (PDT) Original-Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id pg5sm7635104wjb.21.2015.09.23.07.49.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Sep 2015 07:49:48 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Thunderbird/41.0 In-Reply-To: <83d1x9lizj.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22e 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:190289 Archived-At: On 09/23/2015 09:58 AM, Eli Zaretskii wrote: > With such a difference in back-end implementation of a rollback, it > would be appropriate to have a separate back-end method that produces > the warning language. I don't like that very much (sounds complex). Better to have two commands, and allow a backend to signal error in one of them. > But then what will we do with back-ends where there's only one command > for a rollback, and it works regardless of whether the the commit was > published? If the backend doesn't know when to signal an error, it won't. The RCS and CVS backend obviously won't do that. A slight modification on that plan would be a new `revision-public' command which returns t if we're not supposed to modify or rollback that revision. Then the error would be raised not by vc-git, but by generic code.