On the other hand, when updating to a previous version, you’re actually interested in getting a snapshot of how things were at that time, and if every restored file is given a ‘now’ timestamp, using MAKE is the equivalent of always using the –B option, which is not likely what you wanted to do. I think it creates more problems than it solves.
Anyway, wouldn’t it nice to have an option to keep the original timestamp? Perhaps, with a default ‘now’ timestamp for REVERT operations and ‘original’ timestamp for UPDATE operations (at least when no specific file set is given, and the whole tree has to be restored.) Thanks. From: Stephan Beal Sent: Sunday, March 23, 2014 12:57 PM To: Fossil SCM user's discussion Subject: Re: [fossil-users] Is it possible to keep original file dates where reverting / updating? On Sun, Mar 23, 2014 at 11:48 AM, <to...@acm.org> wrote: Like the subject says: Is it possible to restore the original file dates whenever reverting / updating to a given version? Fossil doesn't actually remember a file's real modification time. Instead it computes it based on the time of the checkin the file was most recently in. The point about makefiles was discussed at length some years ago, and IIRC the decision was that the current behaviour is the only way to avoid problems with things _not_ being rebuilt if fossil set an old date on them. e.g. if i revert my main.c to a version from 2 days ago and then run make, i most definitely want it to rebuild that file. The only way to do that, without requiring a 'clean', is for fossil to update to the current timestamp. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf -------------------------------------------------------------------------------- _______________________________________________ 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