unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* VC and too long command lines
@ 2011-07-21 12:55 Deniz Dogan
  2011-07-21 14:12 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Deniz Dogan @ 2011-07-21 12:55 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-08-02  3:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-21 12:55 VC and too long command lines Deniz Dogan
2011-07-21 14:12 ` 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

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).