From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Removing rollback from VC mode - request for comment Date: Thu, 11 Dec 2014 07:36:29 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20141211123629.GA25499@thyrsus.com> References: <20141211092138.6D5F6C008E@snark.thyrsus.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1418301819 22732 80.91.229.3 (11 Dec 2014 12:43:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2014 12:43:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 11 13:43:30 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 1Xz35c-0005bI-Gs for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 13:43:28 +0100 Original-Received: from localhost ([::1]:50726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz35c-0000TS-50 for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 07:43:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz2yz-00075N-CX for emacs-devel@gnu.org; Thu, 11 Dec 2014 07:36:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xz2ys-0004Ra-Mp for emacs-devel@gnu.org; Thu, 11 Dec 2014 07:36:37 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5]:37064 helo=snark.thyrsus.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz2ys-0004RW-EP for emacs-devel@gnu.org; Thu, 11 Dec 2014 07:36:30 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 1000) id C4D3BC008E; Thu, 11 Dec 2014 07:36:29 -0500 (EST) Content-Disposition: inline In-Reply-To: X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 71.162.243.5 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:179745 Archived-At: 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. Google searches didn't turn up any. Mind not made up yet. But leaning more towards deleting, now. Willing to listen to a more spirited defense. -- Eric S. Raymond