bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11012: VC git checkout fails with error


From: David Reitter
Subject: bug#11012: VC git checkout fails with error
Date: Wed, 14 Mar 2012 10:08:45 -0400

X-Debbugs-CC: Robert Goldman <rpgoldman@sift.info>

Begin forwarded message:

> From: Robert Goldman <rpgoldman@sift.info>
> Subject: [Aquamacs-bugs] VC git checkout fails with error
> Date: March 12, 2012 12:38:58 PM EDT
> To: Aquamacs bugs list <aquamacs-bugs@aquamacs.org>
> Reply-To: rpgoldman@sift.info, Bug reports for Aquamacs Emacs 
> <aquamacs-bugs@aquamacs.org>
> 
> 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]