Stephan Beal wrote: > On Thu, Mar 12, 2009 at 4:20 PM, John Elrick <[email protected]> wrote: > >> I've just started looking at and experimenting with Fossil. One >> question which doesn't seem to be addressed in documentation is how to >> include/exclude files using a set of file masks. The obvious examples >> are .objs and (for Delphi projects) .dcus and .exes. >> >> How does one do this? >> > > Hi, John, and welcome to fossil! > > AFAIK the only cannon way of doing this is using tools like 'find' and > 'sed', e.g.: > > fossil add $(find . -type f | sed -e '/\.exe/d;/\.dcu/d') > > in my experience, it's safest to go add the files you want > individually, to avoid picking up generated or otherwise > "uncontrolled" files (those which don't belong under version control). > But i'll admit to being a bit old fashioned in that regard. > Thanks. The first project I'm going to experiment with is a live project with over 1,200 units. You can appreciate my desire to avoid adding them one at a time<g>, however, you've given me some useful ideas.
John _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

