From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.bugs Subject: bug#18709: 24.3; vc-revert inconsistency in *vc-dir* Date: Mon, 13 Oct 2014 12:08:42 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413217835 3248 80.91.229.3 (13 Oct 2014 16:30:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Oct 2014 16:30:35 +0000 (UTC) To: 18709@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 13 18:30:27 2014 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 1XdiVu-0006qy-RF for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Oct 2014 18:30:27 +0200 Original-Received: from localhost ([::1]:34420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdiVu-0007qg-DE for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Oct 2014 12:30:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdiVi-0007pS-9p for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 12:30:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdiVZ-0005Qi-78 for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 12:30:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdiVZ-0005QA-1o for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 12:30:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XdiVY-0007Mv-0a for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 12:30:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Oct 2014 16:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18709 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.141321778128268 (code B ref -1); Mon, 13 Oct 2014 16:30:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Oct 2014 16:29:41 +0000 Original-Received: from localhost ([127.0.0.1]:42845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XdiV9-0007Lq-Q2 for submit@debbugs.gnu.org; Mon, 13 Oct 2014 12:29:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44931) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XdiV7-0007Lf-Rl for submit@debbugs.gnu.org; Mon, 13 Oct 2014 12:29:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdiUy-0005ER-Gc for submit@debbugs.gnu.org; Mon, 13 Oct 2014 12:29:37 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdiUy-0005EN-DQ for submit@debbugs.gnu.org; Mon, 13 Oct 2014 12:29:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdiUr-0007iK-SX for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 12:29:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdiUl-0005CS-LO for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 12:29:21 -0400 Original-Received: from webmail.shubertorg.com ([207.246.209.200]:12669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdiUl-0005CO-Gw for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 12:29:15 -0400 Original-Received: from devlpar1 (10.0.201.33) by Dakiya1 (172.16.208.201) with Microsoft SMTP Server id 14.2.247.3; Mon, 13 Oct 2014 12:08:46 -0400 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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: 140.186.70.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:94462 In a *vc-dir* buffer: 1. Mark a buffer with 2 or more changed files. 2. Invoke vc-revert. 3. See prompt "Discard changes in 1 file? (yes or no) ". 4. Confirm with "yes". 5. Get the following messages, the last of which signals an error. Finding changes in /devel/dougl/... Reverting /devel/dougl/ttwork/es/... Checking out /devel/dougl/ttwork/es/... vc-default-revert: Non-regular file: cannot write to a directory., /devel/dougl/... Apologetic statements: a. This is hardly fatal and could be regarded as expected behavior. (It is a little surprising though.) b. I'm sorry I can't submit a patch with this immediately, but I don't understand the vc/vc-backend structure yet. In GNU Emacs 24.3.2 (powerpc-ibm-aix6.1.0.0, X toolkit, Xaw scroll bars) of 2014-04-17 on devlpar1 Windowing system distributor `The Cygwin/X Project', version 11.0.11601000 Configured using: `configure '--prefix=/devel/dougl/local' '--with-jpeg=no' '--with-png=no' '--with-gif=no' '--with-tiff=no' 'CC=xlc' 'CFLAGS=-O'' Important settings: value of $LANG: en_US locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t Major mode: VC dir Minor modes in effect: diff-auto-refine-mode: t which-function-mode: t display-time-mode: t shell-dirtrack-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t Recent input: * a n d SPC P A S S T D W O R K SPC - - > S-SPC P A S S T D * W O R K * i n SPC c o m m e n t SPC ( 1 ) SPC f o r SPC e m p h a s i s a n d S-SPC ( 2 ) S-SPC t o SPC a b v o i d SPC c o n f u s i n g SPC p a s s t d _ f l i p . C-c C-c C-g C-g C-g C-g C-x k C-g C-n f C-x v u y e s C-x k C-x k C-x o C-x k C-x k C-n o C-x v d C-u C-n C-n C-n C-n C-n f C-x v = n p n C-x k C-x o C-x k C-n f C-x v = C-v C-v C-g C-g C-x k C-x k C-x o C-x k C-p C-p C-p C-n m C-x v u y e s C-p u m m C-g C-x v u y e s x b u r u g C-a C-k r e p o r d i s c a r d SPC c h - c h a n g e s SPC C-a v C-g C-h f v c - d i s C-g C-g C-g C-h k C-x v u x r e p o r t Recent messages: Checking out /devel/dougl/ttwork/es/evpfin-f_Serena_8781_scheduler_launcher/evpfin.pd...done Reverting /devel/dougl/ttwork/es/evpfin-f_Serena_8781_scheduler_launcher/evpfin.obf /devel/dougl/ttwork/es/evpfin-f_Serena_8781_scheduler_launcher/evpfin.pd...done Saving file /devel/dougl/log/emacs/log-201410131016-10879024... Wrote /devel/dougl/log/emacs/log-201410131016-10879024 Making completion list... [2 times] Quit Making completion list... Quit [3 times] Type "q" in help window to restore its previous buffer. Making completion list... [2 times] Load-path shadows: /devel/dougl/local/share/db-mode/0.04-devt/lisp/dbui hides /devel/dougl/local/share/emacs/site-lisp/db-mode/dbui /devel/dougl/local/share/db-mode/0.04-devt/lisp/db-relations hides /devel/dougl/local/share/emacs/site-lisp/db-mode/db-relations /devel/dougl/local/share/db-mode/0.04-devt/lisp/db-mode hides /devel/dougl/local/share/emacs/site-lisp/db-mode/db-mode /devel/dougl/local/share/db-mode/0.04-devt/lisp/db-generic hides /devel/dougl/local/share/emacs/site-lisp/db-mode/db-generic /devel/dougl/local/share/db-mode/0.04-devt/lisp/db-buffers hides /devel/dougl/local/share/emacs/site-lisp/db-mode/db-buffers /devel/dougl/share/emacs/site-lisp/misc hides /devel/dougl/local/share/emacs/24.3/lisp/misc Features: (shadow sort gnus-util mail-extr emacsbug message cl-macs gv rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils log-view smerge-mode sh-script smie executable diff-mode vc-rcs vc-dir ewoc find-dired log-edit pcvs-util vc vc-dispatcher ediff-vers dougl-ediff ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff misearch multi-isearch add-log parse-time vc-cvs cc-langs cl icicles-autoloads package dired em-unix em-term term disp-table ehelp electric em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util which-func time db-mode dbui etags db-vars db-buffers db-relations db-generic server quail help-mode ob-sh shell org byte-opt warnings bytecomp byte-compile cconv ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob org-compat org-macs ob-eval org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs dougl-log shell-support peterb new-defun my-shell-script my-elisp issues dougl-date-time c-support passport pp-analysis pp-sub pp-pro pp-pd pp-ovl pp-opn pp-obf pp-misc pp-ini pp-ext pp-ar pp-sql sql comint ansi-color ring pp-scn pp-men pp-blk pp-pl derived pascal pp-generic c-analysis imenu cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs thingatpt uniquify advice help-fns cl-lib advice-preload time-date tooltip 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 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 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 dynamic-setting x-toolkit x multi-tty emacs)