On Sat, 25 May, Stephan Beal wrote:

> Kind of:
> 
> create a file (we'll call it foo) with your list of files and then
> try:
> 
> fossil commit -m '...' --args foo
> 
> that will replace the "--args foo" part with the contents of the file,
> basically.

Exactly like this. Thanks a lot. :-)

> Here are the soure code comments about that feature:
> 
> ** Convert all arguments from mbcs (or unicode) to UTF-8. Then
> ** search g.argv for arguments "--args FILENAME". If found, then
> ** (1) remove the two arguments from g.argv
> ** (2) Read the file FILENAME
> ** (3) Use the contents of FILE to replace the two removed arguments:
> **     (a) Ignore blank lines in the file
> **     (b) Each non-empty line of the file is an argument, except
> **     (c) If the line begins with "-" and contains a space, it is
> broken
> **         into two arguments at the space.

I find the name "args" of the option a bit confusing, and I am not sure
what the purpose of 3c) is. I assume it is some trivial heuristic to
allow for

-t ci

in one line of the response file.

But apart from that it looks exactly like what I need. Again, thanks
for the pointer.

Anyway I could have found this myself using the command line help or in
the Wiki?

Greetings,
Stefan

-- 
Stefan Bellon
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to