On Wed, Oct 26, 2011 at 12:28 PM, Kevin Ar18 <[email protected]> wrote: > Perhaps I should explain more about it? At this stage, I am mostly using > the VCS to backup and keep track of a single directory structure. (Of > course I may use it for other purposes.) Point is, it would be really > difficult to have to try and find every file that was added, deleted, or > moved manually. I would constantly be worrying whether I really added all > the files.
Given that that's not what a SCM is designed for, it shouldn't surprise you that there's not a simple solution to your problem. On the other hand, you can script fossil to do this. You'll need two commands: addremove (to find all new files and any removed ones) and then a commit to create a new version in the repository with those (plus any changed files in it). You'll probably have to fool with the ignore facility to get this to work properly. If you don't need to keep old versions around, this is almost certainly overkill, as there should be tools for your platform to keep two directories in sync. If you do need to keep old versions around, it may still be overkill. Personally, I use create a file system for each such directory, and then take file system snapshots after doing the directory sync. This does require a file system which makes creating both new file systems and snapshots cheap. <mike _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

