This is exactly how I would expect it to work. And I like the '--all' option, too.
The only thing is if anything better than a list like 'ignore-glob' can be proposed. In my case it's just a few files, so such a list would be enough. However, I can imagine that someone has a large repo and needs to set no-autocommit to more than 10 files. Then maintaining an 'ignore-glob'-like list may become a pain. Cheers, Jacek 2012/7/2 Richard Hipp <[email protected]>: > I am willing to *consider* some option that says "do not commit these files, > even if they change, unless that are specifically named on the > command-line". I think this would be easy to implement by messing with the > is_selected()/if_selected() function. > > So, to use Stephan's example, if you marked Makefile as no-autocommit, and > there were changes to both Makefile and to file1.txt, "fossil commit" would > only check-in the changes on file1.txt. But "fossil commit Makefile *.txt" > would check-in changes to both file. Probably there should be another > command-line option such as "fossil commit --all" that also picks up > Makefile. The "changes" command should show the changes to Makefile, but > indicate that they are not checked in by default. The check-in comment > prompt string should indicate clearly that Makefile is omitted from the > check-in because of the setting and it was not specified on the > command-line. > > I don't think any changes are needed to update or merge or stash. "fossil > revert" is an interesting case - does it revert Makefile to the default, or > doesn't it? Maybe "fossil revert Makefile" or "fossil revert --all" is > required? > > Correction: I think "fossil changes" should only show Makefile if you give > it an option like "--all". Otherwise, "fossil all changes" (whose purpose > it to show check-outs with any changes that you have forgotten to check-in) > would give false hits for repos with only "Makefile-like" changes. > > >> >> >> -- >> ----- 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 >> > > > > -- > D. Richard Hipp > [email protected] > > _______________________________________________ > 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

