There was a recent addition to address half of your request:

fossil commit -M messagefile.txt sourceFile.c

The -M option will get your comment text from the file messagefile.txt.  For 
the rest, you could use the shell to iterate through a file set.

RW 

Ron Wilson, Engineering Project Lead
(o) 434.455.6453, (m) 434.851.1612, www.harris.com

HARRIS CORPORATION   |   RF Communications Division     
assuredcommunications(tm)


> -----Original Message-----
> From: [email protected] [mailto:fossil-users-
> [email protected]] On Behalf Of Jeff Doar
> Sent: Monday, December 28, 2009 10:30 AM
> To: [email protected]
> Subject: [fossil-users] Is it possible to specify committed files and the
> commit message via input files?
> 
> 
> All (especially Richard) -
> 
> I'd like to be able to specify arbitrarily long lists of files to commit
> and my commit messages using input files that I specify on the fossil
> command line. e.g., instead of
> 
>     fossil commit -m "blah blah blah" file1.txt file2.txt....fileXXX.txt
> 
> 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?
> 
> Thanks,
> JD
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to