all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz@dogan.se>
To: emacs-devel@gnu.org
Subject: VC and too long command lines
Date: Thu, 21 Jul 2011 14:55:28 +0200	[thread overview]
Message-ID: <4E2821C0.5090409@dogan.se> (raw)

Recently I came across a problem when using VC in Emacs.  I had just 
added a whole bunch of files to my Bazaar repository and wanted to 
commit them all.  I chose to mark them all in vc-dir and then tried to 
commit them.

However...

File error: "Spawning child process", "exec format error"

Of course, the command line was simply too long (approximately 66,000 
characters) for my operating system to handle (Windows 7 64-bit).

What should Emacs do when this happens?

I think the most appropriate thing would be to add some functionality 
which determines the maximum command line length for the current system 
and if the call exceeds that length, tell the user about it.  Another 
way would be to e.g. divide the commit into several smaller commits and 
appending something along the lines of "(commit N of M)" to each commit 
message.

What do you think?  I think this is quite an important issue.

Deniz



             reply	other threads:[~2011-07-21 12:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-21 12:55 Deniz Dogan [this message]
2011-07-21 14:12 ` VC and too long command lines Eli Zaretskii
2011-07-21 14:16   ` Deniz Dogan
2011-07-21 17:02     ` Eli Zaretskii
2011-07-22 20:37       ` Nix
2011-07-23  7:05         ` Eli Zaretskii
2011-07-23 10:36           ` Richard Stallman
2011-07-23 11:05             ` Eli Zaretskii
2011-07-23 17:18               ` Nix
2011-07-21 14:16 ` Daniel Colascione
2011-08-02  3:48 ` Stefan Monnier

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=4E2821C0.5090409@dogan.se \
    --to=deniz@dogan.se \
    --cc=emacs-devel@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.