Subject: bug#11012: closed (Re: bug#11012: VC git checkout fails with error)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 10 Jun 2012 18:33:03 +0000

Your bug report

#11012: VC git checkout fails with error

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
11012: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11012
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#11012: VC git checkout fails with error
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Sun, 10 Jun 2012 14:29:30 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Emacs 24.1, where this is fixed, has been released.

Subject: VC git checkout fails with error
From: David Reitter <[email-masked]>
To: Bug-Gnu-Emacs <[email-masked]>
Date: Wed, 14 Mar 2012 10:08:45 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

X-Debbugs-CC: Robert Goldman <[email-masked]>

Begin forwarded message:

> From: Robert Goldman <[email-masked]>
> Subject: [Aquamacs-bugs] VC git checkout fails with error
> Date: March 12, 2012 12:38:58 PM EDT
> To: Aquamacs bugs list <[email-masked]>
> Reply-To: [email-masked], Bug reports for Aquamacs Emacs <[email-masked]>
> 
> Using ^X V + (vc-update) in a buffer under git revision control calls 
> vc-git-command as follows:
> 
> vc-git-command(nil 0 <filename> "checkout" t)
> 
> The arguments to vc-git-command are 
> 
> (defun vc-git-command (buffer okstatus file-or-list &rest flags)
> 
> and it calls 
> 
> vc-do-command (buffer okstatus command file-or-list &rest flags)
> 
> with flags as ("checkout" t)
> 
> but vc-do-command treats flags as a list of strings, meaning that it
> blows up with a not-a-sequence error here:
> 
> (mapcar (lambda (s) (if (> (length s) 20) (concat (substring s 0 2) "...")  s)) flags)
> 
> vc-dispatcher.el, line 300.
> 
> That last argument, T, is supposed to be a REV at the bottom of the call stack, where we call vc-update and then vc-checkout.
> 
> The slip-up seems to be on the pass-through to vc-call-backend.
> 
> Aquamacs info:
> 
> GNU Emacs 23.3.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
> of 2011-10-25 on braeburn.aquamacs.org - Aquamacs Distribution 2.4
> 
> Snow Leopard