[issue482] Some commands should accept file lists from a text file

Steve Borho mercurial-bugs at selenic.com
Thu Jan 18 15:54:34 CST 2007


New submission from Steve Borho <steve at borho.org>:

Win32 has a well-documented command line limitation of 8Kbytes and a 
CreateProcess() limit of 32Kbytes.  This means that all commands that take 
lists of files on the command line are prone to being broken when you do large 
scale operations.

This is only a minor problem except for the commit function.  In order to do a 
true atomic commit you need to be able to specify all the files in a single 
invocation.

I suggest we add support to at least the commit command (add and revert would 
be useful as well) to accept the list of files from a specified filename.

ex:  hg commit --list-file files_to_commit.txt

----------
messages: 2713
nosy: sborho
priority: feature
status: unread
title: Some commands should accept file lists from a text file

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue482>
____________________________________________________



More information about the Mercurial-devel mailing list