unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: 11012@debbugs.gnu.org
Cc: robert goldman <rpgoldman@sift.info>
Subject: bug#11012: VC git checkout fails with error
Date: Wed, 14 Mar 2012 10:08:45 -0400	[thread overview]
Message-ID: <032C4840-30D7-46FA-8FF0-B014528361DB@gmail.com> (raw)
In-Reply-To: 4F5E26A2.2060203@sift.info

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	other threads:[~2012-03-14 14:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4F5E26A2.2060203@sift.info>
2012-03-14 14:08 ` David Reitter [this message]
2012-03-14 18:43   ` bug#11012: VC git checkout fails with error Glenn Morris
2012-03-14 19:01     ` David Reitter
2012-06-10 18:29       ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=032C4840-30D7-46FA-8FF0-B014528361DB@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=11012@debbugs.gnu.org \
    --cc=rpgoldman@sift.info \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).