From unknown Tue Aug 12 08:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20558: 24.4; vc-revert on deleted file (git and svn should be more consistent) Resent-From: Ed Avis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 May 2015 15:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20558 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 20558@debbugs.gnu.org X-Debbugs-Original-To: "'bug-gnu-emacs@gnu.org'" Received: via spool by submit@debbugs.gnu.org id=B.1431443646770 (code B ref -1); Tue, 12 May 2015 15:15:03 +0000 Received: (at submit) by debbugs.gnu.org; 12 May 2015 15:14:06 +0000 Received: from localhost ([127.0.0.1]:42522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsBsj-0000CL-4w for submit@debbugs.gnu.org; Tue, 12 May 2015 11:14:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59533) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsBse-0000Be-Vf for submit@debbugs.gnu.org; Tue, 12 May 2015 11:14:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsBsY-0006jQ-0M for submit@debbugs.gnu.org; Tue, 12 May 2015 11:13:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsBsX-0006jM-TM for submit@debbugs.gnu.org; Tue, 12 May 2015 11:13:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsBsW-000156-7X for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 11:13:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsBsS-0006im-20 for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 11:13:52 -0400 Received: from mail1.bemta14.messagelabs.com ([193.109.254.113]:53565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsBsR-0006ig-Pw for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 11:13:47 -0400 Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id 6A/49-02790-AA812555; Tue, 12 May 2015 15:13:46 +0000 X-Env-Sender: eda@waniasset.com X-Msg-Ref: server-15.tower-27.messagelabs.com!1431443625!16928753!1 X-Originating-IP: [80.169.169.167] X-StarScan-Received: X-StarScan-Version: 6.13.14; banners=waniasset.com,-,- X-VirusChecked: Checked Received: (qmail 9095 invoked from network); 12 May 2015 15:13:45 -0000 Received: from unknown (HELO WCL-EXCHCAS02.wcl.local) (80.169.169.167) by server-15.tower-27.messagelabs.com with AES128-SHA encrypted SMTP; 12 May 2015 15:13:45 -0000 Received: from WCL-EXCH02.wcl.local ([169.254.1.57]) by WCL-EXCHCAS02.wcl.local ([149.85.127.102]) with mapi id 14.03.0123.003; Tue, 12 May 2015 16:13:44 +0100 From: Ed Avis Thread-Topic: 24.4; vc-revert on deleted file (git and svn should be more consistent) Thread-Index: AdCMxgkKjqofcX16QxSykItv6r4/iQ== Date: Tue, 12 May 2015 15:13:44 +0000 Message-ID: <7E039918541B4C4183BFDB8F015C743032E1FC1E@WCL-EXCH02.wcl.local> 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] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Visit a file in a git or svn checkout. Unknown to emacs, delete that file. Then do vc-revert to get back the original contents from version control. When vc-mode is used with a Subversion working copy, reverting a file which has vanished on disk (but where the buffer is not marked as modified) will just get a fresh copy and put it in the buffer. That is perhaps not ideal because it loses local changes. When vc-mode is used with git, on reverting a file which no longer exists on disk (where the buffer is not marked as modified), a diff is shown betw= een the empty file and the current contents in version control. That is not a particularly helpful diff to show the user. If the file no longer exists on disk, then I suggest vc-revert should act as follows: - If the buffer is marked as modified, offer to save it, and after saving show diffs and prompt to revert as usual. - If the buffer is not marked as modified, a diff should still be shown between the current buffer contents and what would be fetched from the version control system to replace it. If that diff is empty, then just go ahead and revert. Or alternatively, vc-revert should just automatically save-buffer first if the underlying file no longer exists on disk. In GNU Emacs 24.4.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.10.9) of 2014-11-03 on wcl-linux04.wcl.local Configured using: `configure --build=3Dx86_64-redhat-linux-gnu --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64 --libexecdir=3D/usr/libexec --localstatedir=3D/var --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-png= --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3 --with-gpm=3Dno build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-gnu 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector-strong --param=3Dssp-buffer-size=3D4 -grecord-gcc-switches -m64 -mtune=3Dgeneric' 'LDFLAGS=3D-Wl,-z,relro '' Important settings: value of $LC_COLLATE: C value of $LC_CTYPE: en_GB.UTF-8 value of $LC_MESSAGES: en_GB.UTF-8 value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: nXML Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: e e C-n C-n C-p C-x e e C-n C-n C-p C-x e e e C-n C-x=20 e C-n C-x e e e C-n C-n C-n C-n C-x e C-x v u y e s=20 DEL DEL y e s RET C-f C-f C-f C-f C-f C-f C-f C-f C-f=20 C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f=20 C-f C-f C-f C-f C-d C-d C-d C-d C-d C-d C-d C-d C-d=20 C-d C-a C-x C-s C-x v =3D C-x v v ESC p DEL DEL DEL DEL=20 N Z . C-c C-c C-x o C-p C-p C-p C-p C-p C-p C-p C-p=20 C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p=20 C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p=20 C-x e e e e C-n C-x e e e C-n C-n C-n C-p C-x e e C-n=20 C-n C-x e e C-n C-x e e C-n C-x e e e C-n C-x e C-n=20 C-x e e e C-n C-n C-n C-n C-x e C-n C-x e C-n C-x e=20 C-n C-x e e e e e e e e C-a C-x C-s ESC ! ESC p RET=20 C-x o q ESC < C-s m s c i l o c a l C-a ESC ! m v SPC=20 b u TAB . TAB DEL b u TAB DEL . i n _ p r o g r e s=20 s SPC v DEL - v i RET C-x v u C-g ESC x e w p DEL DEL=20 DEL r e p C-g C-h k C-x v u C-x o C-x o ESC x r e DEL=20 DEL e DEL r e p o r t SPC e m SPC a DEL b SPC RET Recent messages: (Type e to repeat macro) [26 times] Saving file /home/eda/git_working/repos/wwwroot/WaniSystems/Configuration/= MarketSampler/jobs/build.trend.signals.xml... Wrote /home/eda/git_working/repos/wwwroot/WaniSystems/Configuration/Market= Sampler/jobs/build.trend.signals.xml (Shell=20command succeeded with no output) Mark set Mark saved where search started 'build.trend.signals.xml' -> 'build.trend.signals.xml.in_progress' Finding changes in /home/eda/git_working/repos/wwwroot/WaniSystems/Configu= ration/MarketSampler/jobs/build.trend.signals.xml... Quit [2 times] Type C-x 1 to delete the help window. Load-path shadows: None found. Features: (shadow sort emacsbug sendmail eieio-opt speedbar sb-image ezimage dframe find-func sgml-mode warnings dired-aux nroff-mode macros etags pcmpl-gnu sh-script smie executable pcmpl-rpm mule-util ispell conf-mode rect python json smerge-mode network-stream starttls tls sql view dired mail-extr edmacro kmacro vc-bzr vc-sccs vc-svn vc-cvs vc-rcs tabify imenu man pcmpl-x diff-mode log-view vc vc-dispatcher cus-edit wid-edit cus-start cus-load perl-mode help-mode dabbrev misearch multi-isearch vc-git nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok ffap thingatpt url-parse auth-source eieio eieio-core gnus-util password-cache url-vars pcmpl-unix xterm time-date log-edit easy-mmode message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log server csharp-mode advice help-fns byte-opt bytecomp byte-compile cconv cc-langs cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs zoom-frm frame-cmds frame-fns cl-macs avoid cl gv cl-loaddefs cl-lib compile shell pcomplete comint ring ansi-color tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 2740808 222760) (symbols 48 31871 0) (miscs 40 1470 9493) (strings 32 94693 49984) (string-bytes 1 3524974) (vectors 16 44630) (vector-slots 8 1843880 104132) (floats 8 1680 1157) (intervals 56 396602 1450) (buffers 960 263) (heap 1024 118762 5547)) --=20 Ed Avis Please ignore autogenerated disclaimer below this line. 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. From unknown Tue Aug 12 08:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20558: 24.4; vc-revert on deleted file (git and svn should be more consistent) Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Nov 2015 02:43: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: To: Ed Avis Cc: 20558@debbugs.gnu.org Received: via spool by 20558-submit@debbugs.gnu.org id=B20558.144841936911624 (code B ref 20558); Wed, 25 Nov 2015 02:43:02 +0000 Received: (at 20558) by debbugs.gnu.org; 25 Nov 2015 02:42:49 +0000 Received: from localhost ([127.0.0.1]:51966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1Q2i-00031Q-TG for submit@debbugs.gnu.org; Tue, 24 Nov 2015 21:42:49 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:33281) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1Q2O-00030z-4P for 20558@debbugs.gnu.org; Tue, 24 Nov 2015 21:42:46 -0500 Received: by wmec201 with SMTP id c201so236366019wme.0 for <20558@debbugs.gnu.org>; Tue, 24 Nov 2015 18:42:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=xZsWDyz9ZEIqZJa6sle9roiG1/9wy0rVDVgVdwuRzQk=; b=uSl7TE7u33Z67JkVjGnBk7hGWIH3Tj6ybyipSRYcgTRgpRU7s3UfIoT2f/c7phuFX0 7wRuWE7LOeNwyBARwgFV2WXMCQ3/9n8SE6vsqgaAlINEKBxvyDKnQuhYw6DlgL/ereWZ 4adtiy0StRBgmNpLrtukcwvUYXg0KccqUQzX1DG0VPF/3SEP4Jq5PI3124xFnby6L7U3 ud2+mwCEHAyuBoTgV26tEP/QnMPVPbN7o50ix3c8FrNtrQHgsjmHeJeS3XOsN6C+6WR8 4FxpnDf2wXfPhH/zG4+dS6Fcem0qiMkPn/xtfBgHZx2xJPOcU20NmsRBxXUYvc426NWw tt5w== X-Received: by 10.28.150.7 with SMTP id y7mr1685085wmd.73.1448419347528; Tue, 24 Nov 2015 18:42:27 -0800 (PST) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id jt9sm20913917wjc.24.2015.11.24.18.42.26 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Nov 2015 18:42:26 -0800 (PST) References: <7E039918541B4C4183BFDB8F015C743032E1FC1E@WCL-EXCH02.wcl.local> From: Dmitry Gutov Message-ID: <56552011.1080209@yandex.ru> Date: Wed, 25 Nov 2015 04:42:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <7E039918541B4C4183BFDB8F015C743032E1FC1E@WCL-EXCH02.wcl.local> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 05/12/2015 06:13 PM, Ed Avis wrote: > If the file no longer exists on disk, then I suggest vc-revert > should act as follows: > > - If the buffer is marked as modified, offer to save it, and after > saving show diffs and prompt to revert as usual. I believe we already do that. And if the user says no, the whole operation is aborted. > - If the buffer is not marked as modified, a diff should still be shown > between the current buffer contents and what would be fetched from the > version control system to replace it. That sounds a bit inconvenient to implement, and I guess I don't see a lot of benefit. > If that diff is empty, then > just go ahead and revert. That goes against the main use case of vc-revert, as I see it: discarding uncommitted changes if you no longer want them. > Or alternatively, vc-revert should just automatically save-buffer first > if the underlying file no longer exists on disk. That's doable. But then we'll also need to delete it afterwards if the user says no. From unknown Tue Aug 12 08:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20558: 24.4; vc-revert on deleted file (git and svn should be more consistent) 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: To: 'Dmitry Gutov' Cc: "20558@debbugs.gnu.org" <20558@debbugs.gnu.org> Received: via spool by 20558-submit@debbugs.gnu.org id=B20558.14484659432181 (code B ref 20558); Wed, 25 Nov 2015 15:40:02 +0000 Received: (at 20558) by debbugs.gnu.org; 25 Nov 2015 15:39:03 +0000 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 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 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 Received: (qmail 50324 invoked from network); 25 Nov 2015 15:38:40 -0000 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 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 From: Ed Avis Thread-Topic: bug#20558: 24.4; vc-revert on deleted file (git and svn should be more consistent) Thread-Index: AdCMxgkKjqofcX16QxSykItv6r4/iSaZOGmAABsLb+A= 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> 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] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) 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. From unknown Tue Aug 12 08:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20558: 24.4; vc-revert on deleted file (git and svn should be more consistent) Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 15:17: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: To: Ed Avis Cc: "20558-done@debbugs.gnu.org" <20558@debbugs.gnu.org> Received: via spool by 20558-submit@debbugs.gnu.org id=B20558.144855101723059 (code B ref 20558); Thu, 26 Nov 2015 15:17:02 +0000 Received: (at 20558) by debbugs.gnu.org; 26 Nov 2015 15:16:57 +0000 Received: from localhost ([127.0.0.1]:54418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1yI5-0005zp-70 for submit@debbugs.gnu.org; Thu, 26 Nov 2015 10:16:57 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:37082) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1yI3-0005zh-1x for 20558@debbugs.gnu.org; Thu, 26 Nov 2015 10:16:55 -0500 Received: by wmww144 with SMTP id w144so26309822wmw.0 for <20558@debbugs.gnu.org>; Thu, 26 Nov 2015 07:16:54 -0800 (PST) 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=uvDW37LAF6fb6AccwOazTOzwz/LhTR5Hd3PXnq55/gg=; b=EifTqSuOYzsNnIclq3gTUxhbsWwekqsF95m2iGL+9jWPQ7+to56QeLWi64Ee+vVza0 d2J0gYGqP9YN9gXSt5tDAqiIh49YIlzvI1pSYEnkj1KRVY2SFyqf52sXMhV1r4G7SJ0h QH7VrfXTS0ONxELbsSGUhU3yPLS+7vn18pkiEPvOutIrTEmXcZmZHn5zN1G6+24GxU/1 vSgEGB0HVfmFfcSLWN9D3GFUZUl6nXBH38/pFfEkt3kH5KrLtAr+xBBOt3hT9cP9Imal uqcIr7eX4R5XKlip63zs/cB9gvpguNoC47sGIVQklKgWLoteINz44rJ8UvA4r1v85lMu LFVA== X-Received: by 10.28.101.195 with SMTP id z186mr4706244wmb.52.1448551014353; Thu, 26 Nov 2015 07:16:54 -0800 (PST) Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id d2sm28505272wjy.16.2015.11.26.07.16.52 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Nov 2015 07:16:52 -0800 (PST) References: <7E039918541B4C4183BFDB8F015C743032E1FC1E@WCL-EXCH02.wcl.local> <56552011.1080209@yandex.ru> <7E039918541B4C4183BFDB8F015C7430BFD8F183@WCL-EXCH02.wcl.local> From: Dmitry Gutov Message-ID: <56572263.2020204@yandex.ru> Date: Thu, 26 Nov 2015 17:16:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <7E039918541B4C4183BFDB8F015C7430BFD8F183@WCL-EXCH02.wcl.local> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Version: 25.1 On 11/25/2015 05:38 PM, Ed Avis wrote: > Having vc-revert save the buffer first if the file doesn't exist looks like a simple fix. All right, we now do something like that. Thanks for the suggestion. From unknown Tue Aug 12 08:33:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20558: 24.4; vc-revert on deleted file (git and svn should be more consistent) Resent-From: Marcin Borkowski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Apr 2016 18:07:01 +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: To: Dmitry Gutov Cc: Ed Avis , 20558@debbugs.gnu.org Received: via spool by 20558-submit@debbugs.gnu.org id=B20558.146013878315994 (code B ref 20558); Fri, 08 Apr 2016 18:07:01 +0000 Received: (at 20558) by debbugs.gnu.org; 8 Apr 2016 18:06:23 +0000 Received: from localhost ([127.0.0.1]:54884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoanW-00049u-Va for submit@debbugs.gnu.org; Fri, 08 Apr 2016 14:06:23 -0400 Received: from mail.mojserwer.eu ([195.110.48.8]:47282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoanV-00049l-Kr for 20558@debbugs.gnu.org; Fri, 08 Apr 2016 14:06:21 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 28C9DAA275C; Fri, 8 Apr 2016 20:06:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qd8A4ipp6tfs; Fri, 8 Apr 2016 20:06:19 +0200 (CEST) Received: from localhost (98-171.echostar.pl [213.156.98.171]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 1A8A8AA275A; Fri, 8 Apr 2016 20:06:19 +0200 (CEST) From: Marcin Borkowski References: <7E039918541B4C4183BFDB8F015C743032E1FC1E@WCL-EXCH02.wcl.local> <56552011.1080209@yandex.ru> <7E039918541B4C4183BFDB8F015C7430BFD8F183@WCL-EXCH02.wcl.local> <56572263.2020204@yandex.ru> Date: Fri, 08 Apr 2016 20:06:18 +0200 In-Reply-To: <56572263.2020204@yandex.ru> (Dmitry Gutov's message of "Thu, 26 Nov 2015 17:16:51 +0200") Message-ID: <87a8l4vuud.fsf@mbork.pl> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2015-11-26, at 16:16, Dmitry Gutov wrote: > Version: 25.1 > > On 11/25/2015 05:38 PM, Ed Avis wrote: > >> Having vc-revert save the buffer first if the file doesn't exist looks like a simple fix. > > All right, we now do something like that. Thanks for the suggestion. Hi, does that mean that this bug can be closed? -- Marcin From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 21:04:45 2016 Received: (at control) by debbugs.gnu.org; 9 Apr 2016 01:04:45 +0000 Received: from localhost ([127.0.0.1]:55025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aohKP-0007ks-89 for submit@debbugs.gnu.org; Fri, 08 Apr 2016 21:04:45 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:33482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aohKN-0007ka-Mm for control@debbugs.gnu.org; Fri, 08 Apr 2016 21:04:43 -0400 Received: by mail-wm0-f42.google.com with SMTP id f198so82209399wme.0 for ; Fri, 08 Apr 2016 18:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:message-id:to:from:subject; bh=6LRYChvjdMtg+H2B0BbSDdysQi2wCqAXisFpj3gCTlQ=; b=vC4pHa+k44o3AuWGSrTEguTlpXzzzLBwiaybzK7XcjJMzSpkGpyKNlN/acBler7xwk pu3HcPdJpjVIufypKrkeAxt0suSMxyc2QbPeeO4x+v29uUslnGj7KkIL+lA3jR3HJKN9 EYfFdTp6gugz+/f6V8ea4EItq0kyQj4o7QZgMmjpdvInbJVhITBsX0ZyaZ4lobpniaFH 9RjCzSqZIuhqqdykUBv6SfBO0yXqvkbqmFHmOo2f9ZB8+/MFsuJKQRgf9NJCIwbXCwnx FLoNeJPCxMWuR3475V+QjjeirSs/CTZvjOhhFtiaSsvkUCUk7lQyUDaHuquSoGuvVurK hJCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:message-id:to:from:subject; bh=6LRYChvjdMtg+H2B0BbSDdysQi2wCqAXisFpj3gCTlQ=; b=bAu7r3X+/oL0x1e70CnAu6MbCWah9LTBFJ5XcUiPS8eUz1HYSjtboNSYWVwcl+27ke MdskkCZt6c/9s7twMG/ew/SRQk5q+DEjkI8ByRYkKVqWpLvgleIV4mQmOTZ2N0T7TV/N FEkBwZEe6GU0on6rronyTSauAfogTGCrl+DBUZx5LKa1jlMqfijRfM5zYPpMaxqzwq+p 7rVTztseqBpfAV92qzLoIJCBG3jGLgq8tjMGhPmo/P8/qE9YbXtkOqemUOlv0ptc2Fgh gvdcaR8LJpWIEsAz+NK7WAJ2qPmVqeVz6HyDoAr/XQIjlA6duNyYC7fuKiU4gZmKfHJj XAPA== X-Gm-Message-State: AD7BkJL0TYcP++cK1DJ23mSX41kvTU2Ammh+CK3ifiyrGazPS0XELLuOW9thNcRPCDT51Q== X-Received: by 10.28.232.140 with SMTP id f12mr6760306wmi.6.1460163878221; Fri, 08 Apr 2016 18:04:38 -0700 (PDT) Received: from axl ([185.105.175.24]) by smtp.gmail.com with ESMTPSA id yn10sm15731519wjc.45.2016.04.08.18.04.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Apr 2016 18:04:37 -0700 (PDT) Date: Sat, 09 Apr 2016 04:04:35 +0300 Message-Id: <86oa9jr3rw.fsf@yandex.ru> To: control@debbugs.gnu.org From: Dmitry Gutov Subject: control message for bug #20558 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) tags 20558 fixed From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 08 21:05:04 2016 Received: (at control) by debbugs.gnu.org; 9 Apr 2016 01:05:04 +0000 Received: from localhost ([127.0.0.1]:55030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aohKi-0007mC-Gl for submit@debbugs.gnu.org; Fri, 08 Apr 2016 21:05:04 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:38565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aohKh-0007lM-Ft for control@debbugs.gnu.org; Fri, 08 Apr 2016 21:05:03 -0400 Received: by mail-wm0-f50.google.com with SMTP id u206so40594694wme.1 for ; Fri, 08 Apr 2016 18:05:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:message-id:to:from:subject; bh=6sCyLmYWUycurebY7nkXaHglDwotSvhSavYxhReaw78=; b=InPurKi94x5HjuVOmPefXYucA7eGHrnPJ/vQum47B2uIkPNzIPs4YEaiidmfkfnhIC sfxOslXDys41TUXH33j0DkvNaNkNzp6qHvNm4yJCmkzCFR0ZToIay41T86SwkPfyn2cZ rFGxeW4UExIaihM9v/t9S4k/w3HfEykhmYhPyotE/2xcEHB3+BW9RUtTfNIy4ygkCtkS joGk/qhj4osLleA5/QV/MAR5x6X87XRFiazR2FQd6z7gv0aS1gEjznPtFQ+g+cPKuiX2 TAYEBiQ6t9FVfa1/1z5sxQ/3sXYebCTDrTuOWouH7RT5IOIJhsEs7rXpM3et5hiXVfUg TrYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:message-id:to:from:subject; bh=6sCyLmYWUycurebY7nkXaHglDwotSvhSavYxhReaw78=; b=HZAmH6jhhIgj1LKPrp8GbYGe7oOOZscTrY2CpffwwhWJs8X6r9ufywRPObd/BzYQrl ZQ6wMp2StJz60Ey0oxT88PCXUlhCuy1tyUw6hrCnbfu+6ZlukvHi0fEOwGivsy8iNR9f rHe5Kq7QcGWCs3qsZveQWdlgN/4JyGP2A04dVv6Lv1ji/YVsKF0bWimKBkjAb2IzSNRt 6+oBCgz6nD9KhzOE/sGDSYi0DliQAtIi0BhR6rGx9cpXf/5r9N/SXBy+A5KV3L2mlpKi 7/Jv0beArAw+afBnJLVL20Xu8MC51IXWRwj2nAzR3o2W/3qGaJUxp8x4YMSEVlxWJZGf VP5g== X-Gm-Message-State: AD7BkJL3neucsXhmOP07xdmlqs7Ip2KdCUnXapAR4Nd8jRvYj4GxIw0tdToW6ezVsqieBw== X-Received: by 10.28.125.8 with SMTP id y8mr6851726wmc.87.1460163898082; Fri, 08 Apr 2016 18:04:58 -0700 (PDT) Received: from axl ([185.105.175.24]) by smtp.gmail.com with ESMTPSA id m134sm5388188wmd.14.2016.04.08.18.04.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Apr 2016 18:04:57 -0700 (PDT) Date: Sat, 09 Apr 2016 04:04:56 +0300 Message-Id: <86mvp3r3rb.fsf@yandex.ru> To: control@debbugs.gnu.org From: Dmitry Gutov Subject: control message for bug #20558 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) tags 20558 fixed close 20558 25.1