Just a general comment on this proposal.... To reiterate the solution provided by Mike, I think this problem can be easily solved by user methodology with no changes to fossil. If you have generated or user edited files create and check in templates. Add the appropriate targets to your make file to copy (and possibly modify) the template to the needed file if it does not exist.
These "special" case files are going to be one more thing a new user has to learn and deal with and the ROI is very low. It will be hard to "see" the different status between a normally controlled file and the special file. An alternative would be to consider the git model where you have to mark files for commit. It is a general solution that does address this need. On Mon, Jul 2, 2012 at 6:55 AM, Stephan Beal <sgb...@googlemail.com> wrote: > On Mon, Jul 2, 2012 at 3:52 PM, Mike Meyer <m...@mired.org> wrote: > >> My solution has been to push things out to the build system. What gets >> stored in the repo is config.template. In this, the "values" for >> > > Another option might, depending on the system, be to "include" a local > config file/make file/whatever. e.g. in Make it might look like: > > -include Makefile.$(USER) > > the "-" before include means "don't fail if the file does not exist," and > most devs have the same $(USER) on their dev machine(s). (And if they > don't, a symlink can work as a crutch to link multiple names to one > makefile.) For small teams, Makefile.$(USER) might even be checked in. > > The Ant build system allows one to include custom property files, so you > could add local.config to your imports and you're all set. Developers which > don't need it simply need to create a 0-byte copy locally. > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > http://gplus.to/sgbeal > > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > >
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users