Hello, Short version: What's the best way to determine if a repository has changed?
I have two systems which are sync'd in a cronjob. On one of the systems I run a cronjob which should take action only if the repository was changed. Before there were two systems I simply used mtime on the repository file; this worked well enough. I assume, but haven't actually checked, that the sync will cause the repository file's mtime to change regardless of whether there were any changes imported or not. The most obvious method would be to do roughly what the timeline does and find the latest modification on the timeline, but this wouldn't work (since it would miss modifications from older checkins (say a user on a secondary site checks in an old experimental branch)). Is there a timestamp for when artifacts where locally added to the repository? (I'm not overly concerned with configuration changes and such; it's detecting checkins, tickets and other artifact changes that's important). -- Kind Regards, Jan _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users