From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Removing rollback from VC mode - request for comment Date: Thu, 11 Dec 2014 14:48:03 +0100 Organization: Organization?!? Message-ID: <87iohiguwc.fsf@fencepost.gnu.org> References: <20141211092138.6D5F6C008E@snark.thyrsus.com> <20141211123629.GA25499@thyrsus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418305723 26935 80.91.229.3 (11 Dec 2014 13:48:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2014 13:48:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 11 14:48:36 2014 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 1Xz46d-0004To-AB for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 14:48:35 +0100 Original-Received: from localhost ([::1]:51455 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz46c-0006wl-Ry for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 08:48:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz46S-0006kK-2e for emacs-devel@gnu.org; Thu, 11 Dec 2014 08:48:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xz46M-0000E8-5t for emacs-devel@gnu.org; Thu, 11 Dec 2014 08:48:24 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:38333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz46L-0000Cr-WB for emacs-devel@gnu.org; Thu, 11 Dec 2014 08:48:18 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xz46K-0004JY-Fn for emacs-devel@gnu.org; Thu, 11 Dec 2014 14:48:16 +0100 Original-Received: from x2f47667.dyn.telefonica.de ([2.244.118.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Dec 2014 14:48:16 +0100 Original-Received: from dak by x2f47667.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Dec 2014 14:48:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x2f47667.dyn.telefonica.de X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:mm2YS/T6nNhbRU5LrhPkIEpl+BM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:179753 Archived-At: "Eric S. Raymond" writes: > Steinar Bang : >> > You could allow git rollback for branches that are only local (ie. not a >> > tracking branch for a remote). >> >> Or maybe better: disallow rollback if the current branch is a tracking >> branch, that is up to date with the remote branch it is tracking. > > I could. But step back from those details for a moment and consider > the larger picture. > > The VC Git support is now about ten years old. In all that time, the > fact that Ctrl-x v c is not bound to git reset seems never to have > been reported as a bug or wishlist item. This suggests to me that > there is little or no demand for the feature. > > Furthermore (and this is new information, I didn't know it when I > wrote the RFC) the Texinfo documentation contains this comment: > > @c `C-x v c' (vc-rollback) was removed, since it's RCS/SCCS specific. > > Looks like somebody else noticed this feature was a vermiform appendix. > > I probably wouldn't be gunning for rollback if it weren't a history eraser. > But the fact that it is one means that leaving it in will have a cost > measured in the number of users who shoot self in foot. > > Given that, I don't think "we *could* support it in Git" is adequate in > the absence of user demand for it. Anyone can correct me on this by > showing evidence of such demand. git rebase -i is rollback on steroids and is definitely seeing a lot of active use. Rollback by itself is not all that interesting. -- David Kastrup