From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ed Avis Newsgroups: gmane.emacs.bugs Subject: bug#20558: 24.4; vc-revert on deleted file (git and svn should be more consistent) Date: Wed, 25 Nov 2015 15:38:35 +0000 Message-ID: <7E039918541B4C4183BFDB8F015C7430BFD8F183@WCL-EXCH02.wcl.local> References: <7E039918541B4C4183BFDB8F015C743032E1FC1E@WCL-EXCH02.wcl.local> <56552011.1080209@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1448466040 6721 80.91.229.3 (25 Nov 2015 15:40:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Nov 2015 15:40:40 +0000 (UTC) Cc: "20558@debbugs.gnu.org" <20558@debbugs.gnu.org> To: 'Dmitry Gutov' Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 25 16:40:26 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1a1cBE-0003Ys-EP for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Nov 2015 16:40:24 +0100 Original-Received: from localhost ([::1]:46036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1cBG-0008Bo-6h for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Nov 2015 10:40:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1cAx-0007sN-HE for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 10:40:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1cAt-0003b7-Kn for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 10:40:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1cAt-0003az-I5 for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 10:40:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a1cAt-0000aw-1N for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 10:40:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ed Avis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Nov 2015 15:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20558 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20558-submit@debbugs.gnu.org id=B20558.14484659432181 (code B ref 20558); Wed, 25 Nov 2015 15:40:02 +0000 Original-Received: (at 20558) by debbugs.gnu.org; 25 Nov 2015 15:39:03 +0000 Original-Received: from localhost ([127.0.0.1]:52923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1c9u-0000Yx-GW for submit@debbugs.gnu.org; Wed, 25 Nov 2015 10:39:02 -0500 Original-Received: from mail1.bemta14.messagelabs.com ([193.109.254.114]:9780) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1c9a-0000Xu-3S for 20558@debbugs.gnu.org; Wed, 25 Nov 2015 10:39:01 -0500 Original-Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id 42/4E-25438-006D5565; Wed, 25 Nov 2015 15:38:40 +0000 X-Env-Sender: eda@waniasset.com X-Msg-Ref: server-12.tower-27.messagelabs.com!1448465919!6221750!1 X-Originating-IP: [80.169.169.167] X-StarScan-Received: X-StarScan-Version: 7.19.2; banners=waniasset.com,-,- X-VirusChecked: Checked Original-Received: (qmail 50324 invoked from network); 25 Nov 2015 15:38:40 -0000 Original-Received: from unknown (HELO WCL-EXCHCAS02.wcl.local) (80.169.169.167) by server-12.tower-27.messagelabs.com with AES128-SHA encrypted SMTP; 25 Nov 2015 15:38:40 -0000 Original-Received: from WCL-EXCH02.wcl.local ([169.254.1.39]) by WCL-EXCHCAS02.wcl.local ([149.85.127.102]) with mapi id 14.03.0123.003; Wed, 25 Nov 2015 15:38:36 +0000 Thread-Topic: bug#20558: 24.4; vc-revert on deleted file (git and svn should be more consistent) Thread-Index: AdCMxgkKjqofcX16QxSykItv6r4/iSaZOGmAABsLb+A= In-Reply-To: <56552011.1080209@yandex.ru> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [149.85.127.168] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109235 Archived-At: Thanks for looking into this bug. I don't have a strong view on what the = best behaviour would be, as long as it is *something* reasonable, and not = just printing a diff of the contents against the empty file. Having vc-revert save the buffer first if the file doesn't exist looks lik= e a simple fix. --=20 Ed Avis Please ignore autogenerated disclaimer below this point. This email is intended only for the person to whom it is addressed and may= contain confidential information. Any retransmission, copying, disclosure= or other use of, this information by persons other than the intended reci= pient is prohibited. If you received this email in error, please contact t= he sender and delete the material. This email is for information only and = is not intended as an offer or solicitation for the purchase or sale of an= y financial instrument. Wadhwani Asset Management LLP is a Limited Liabili= ty Partnership registered in England (OC303168) with registered office at = 40 Berkeley Square, 3rd Floor, London, W1J 5AL. It is authorised and regul= ated by the Financial Conduct Authority.