all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: robert marshall <robert.marshall@tnei.co.uk>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: 2388@emacsbugs.donarmstrong.com
Subject: bug#2388: 23.0.90; wrong-type-argument in vc-dir
Date: Wed, 11 Mar 2009 08:44:29 +0000	[thread overview]
Message-ID: <49B779ED.5000000@tnei.co.uk> (raw)
In-Reply-To: <200903102111.n2ALB1OM029132@godzilla.ics.uci.edu>

Dan Nicolaescu wrote:
> robert marshall <robert.marshall@tnei.co.uk> writes:
>
>   > Nick Roberts wrote:
>   > > Nick Roberts writes:
>   > >  >  > > I can't reproduce this.
>   > >  >  > > Can you please post step by step recipe of how you get this, starting
>   > >  >  > > with emacs -Q.  >  > > The output of  >  > > svn -u status
>   > >  >  > > in that directory might be helpful too.
>   > >  >  > >    >  > I can't reproduce this either now :-(
>   > >  >  > I have seen this sometimes when files have needed
>   > > merging/updating.  I don't
>   > >  > think it happened earlier because with SVN emacs didn't consult the remote
>   > >  > repository by default:
>   > >
>   > > I still see this.  Here's a recent backtrace:
>   > >
>   > > Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>   > >   ewoc-data(nil)
>   .. <snip>
>   > >   vc-dir-update((("." needs-update) ("mydir" needs-update)
>   > > ("pom.xml" needs-update) ("mydir1/mydir2/myfile" needs-update) ...
>   > >
>   > > which fails because node, i.e (ewoc-nth vc-ewoc 0), is nil.
>   > >
>   > >   
>   > I'm seeing this, today, the status gives me
>   > 
>   > svn -u status
>   >       *     7243   tests/compare.py
>   >       *     7243   tests/harm.py
>   >       *     7243   tests/setup-win.py
>   >       *     7243   ipsa.i
>   >       *     7243   Makefile
>   >       *     7243   IscNetComponent.cpp
>   >       *     7243   IscNetComparator.h
>   >       *     7243   IpsaComparator.cpp
>   >       *     7243   IscNetComponent.h
>   >       *     7243   IscNetComparator.cpp
>   >       *            IscCompareData.h
>   > ?                   ipsa_wrap.cpp
>   > M      *     7243   IscInterface.cpp
>   > ?                   ipsa.py
>   >       *            IscCompareData.cpp
>   >       *     7243   Scripting.vcproj
>   >       *     7243   .
>        ^^^^^^^^^^^^^^^^^^^^^^^^ 
>    This might be the cause of the problem.  Can you please try thing
>    patch:
>
>
> Index: vc-svn.el
> ===================================================================
> RCS file: /cvsroot/emacs/emacs/lisp/vc-svn.el,v
> retrieving revision 1.112
> diff -u -3 -p -u -p -r1.112 vc-svn.el
> --- vc-svn.el 10 Feb 2009 05:59:14 -0000        1.112
> +++ vc-svn.el 10 Mar 2009 20:49:23 -0000
> @@ -176,7 +176,7 @@ want to force an empty list of arguments
>         ;; FIXME are there other possible combinations?
>              (cond ((eq state 'edited) (setq state 'needs-merge))
>                       ((not state) (setq state 'needs-update))))
> -       (when state
> +       (when (and state (not (string= "." filename)))
>           (setq result (cons (list filename state) result)))))
>      (funcall callback result)))
>   
Thanks for this, I've installed it and will persuade my colleagues to do 
a few checkins :-)
Not sure why svn should list '.' as needing an update.  Unfortunately my 
svn is now
up to date so I can't, currently, replicate this issue.

Robert

-- 
Robert A J Marshall,  
TNEI Services Ltd, 86-90 London Road, Manchester, M1 2PW 
Registered in England & Wales No. 03891836,
Registered office:  Milburn House, Dean Street, Newcastle upon Tyne, NE1 1LE
tel: +44 161 615 6017; fax: +44 161 615 6001; mobile: +44 7759 688384 
web: http://IPSA-Power.com 







  reply	other threads:[~2009-03-11  8:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200902250357.n1P3vDjI000779@rodan.ics.uci.edu>
2009-02-19 14:21 ` bug#2388: 23.0.90; wrong-type-argument in vc-dir robert
2009-02-20 16:12   ` Dan Nicolaescu
2009-02-23 14:35     ` robert marshall
2009-02-24  6:18       ` Nick Roberts
2009-03-04 10:14         ` Nick Roberts
     [not found]           ` <49B6361C.8050702@tnei.co.uk>
2009-03-10 21:11             ` Dan Nicolaescu
2009-03-11  8:44               ` robert marshall [this message]
2009-03-12  0:48                 ` Dan Nicolaescu
2009-02-25  4:05   ` bug#2388: marked as done (23.0.90; wrong-type-argument in vc-dir) Emacs bug Tracking System
2009-04-15  0:40   ` Emacs bug Tracking System
     [not found] <200904150030.n3F0UGFT009182@godzilla.ics.uci.edu>
2009-03-04 10:29 ` bug#2566: 23.0.91; vc-dir: (wrong-type-argument arrayp nil) AE/Fischer Martin
2009-03-04 19:02   ` Dan Nicolaescu
2009-03-05  5:46   ` Nick Roberts
2009-04-15  0:40   ` bug#2566: marked as done (23.0.91; vc-dir: (wrong-type-argument arrayp nil)) Emacs bug Tracking System

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=49B779ED.5000000@tnei.co.uk \
    --to=robert.marshall@tnei.co.uk \
    --cc=2388@emacsbugs.donarmstrong.com \
    --cc=dann@ics.uci.edu \
    /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.