On Mon, Dec 28, 2009 at 4:30 PM, Jeff Doar <[email protected]>wrote:

> I'd like to write "blah blah blah" into a text file and the names of
> file1.txt...fileXXX.txt into a second text file, then execute:
>

>    fossil commit -m messagefile.txt -files filesToCommit.txt
>
> Is this possible with the current version of fossil?
>

If you're using Unix:

 fossil commit -M messagefile.txt $(cat filesToCommit.txt)

some shells don't support $(...), but use backticks instead:

  fossil commit -M messagefile.txt `cat filesToCommit.txt`

if filesToCommit.txt is extraordinarly long then this will overflow the
number of args allowed by the shell (this is platform/shell-dependent), but
it would have to be pretty long to violate that limit on Unix shells.

If you're not using Unix, then good luck! :)

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to