all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Jason Rumney <jasonr@gnu.org>
Cc: Christoph Scholtes <cschol2112@googlemail.com>, 9726@debbugs.gnu.org
Subject: bug#9726: 24.0.90; vc-dir: error in process sentinel - Wrong argument type
Date: Tue, 11 Oct 2011 14:08:41 -0400	[thread overview]
Message-ID: <czr52j2yfq.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <8662jwnpis.fsf@googlemail.com>

Jason Rumney wrote:

> The same can be reproduced on GNU/Linux by starting from the
> autom4te.cache subdirectory of a bzr working tree of Emacs.

Ie, the error occurs when running vc-dir from a directory that is
ignored by bzr. The following seems to make the error go away, but may
not be complete/correct, since any files in the ignored directory are
reported as unregistered. Mind you, that is how `bzr status -S .'
reports them from the command-line.

*** lisp/vc/vc-bzr.el	2011-09-18 20:43:20 +0000
--- lisp/vc/vc-bzr.el	2011-10-11 18:06:41 +0000
***************
*** 866,872 ****
  		       (" M " . edited) ;; file text modified
  		       ("  *" . edited) ;; execute bit changed
  		       (" M*" . edited) ;; text modified + execute bit changed
! 		       ;; FIXME: what about ignored files?
  		       (" D " . missing)
                         ;; For conflicts, should we list the .THIS/.BASE/.OTHER?
  		       ("C  " . conflict)
--- 866,872 ----
  		       (" M " . edited) ;; file text modified
  		       ("  *" . edited) ;; execute bit changed
  		       (" M*" . edited) ;; text modified + execute bit changed
! 		       ("I  " . ignored)
  		       (" D " . missing)
                         ;; For conflicts, should we list the .THIS/.BASE/.OTHER?
  		       ("C  " . conflict)
***************
*** 916,922 ****
                (push (list new-name 'edited
                            (vc-bzr-create-extra-fileinfo old-name)) result)))
             ;; do nothing for non existent files
!            ((eq translated 'not-found))
             (t
              (push (list (file-relative-name
                           (buffer-substring-no-properties
--- 916,922 ----
                (push (list new-name 'edited
                            (vc-bzr-create-extra-fileinfo old-name)) result)))
             ;; do nothing for non existent files
!            ((memq translated '(not-found ignored)))
             (t
              (push (list (file-relative-name
                           (buffer-substring-no-properties






  reply	other threads:[~2011-10-11 18:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-11  4:03 bug#9726: 24.0.90; vc-dir: error in process sentinel - Wrong argument type Christoph Scholtes
2011-10-11  4:18 ` Christoph Scholtes
2011-10-11 14:26 ` Jason Rumney
2011-10-11 18:08   ` Glenn Morris [this message]
2011-10-19 16:42     ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=czr52j2yfq.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=9726@debbugs.gnu.org \
    --cc=cschol2112@googlemail.com \
    --cc=jasonr@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.