On Sat, May 25, 2013 at 10:53 AM, Stefan Bellon <[email protected]> wrote:
> is it possible to read long lists of files from another file (or stdin) > instead of the command line? > 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. 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. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

