Maintaining modified dates of files

Charles Pope charles.pope at retaininternational.com
Wed Jul 25 05:50:03 CDT 2007


>>>
The reason hg (and most SCMs) don't do this is because it would break
_make_ and make-like tools that depend on dates to determine what's
newer. For example, if you did a build, and then pulled from another
repo with changes that were older, your next build wouldn't rebuild
those files if they kept their modified date.

This is okay with those of us who have been burned repeatedly by
believing that file timestamps have any correspondence with reality. :-)
<<<
Thank you Steve.

I can understand that. Although, I feel that if an SCM is recording the
status of code and other files at a certain point in time - the last
modified date of files is useful information. Is this available in the
repository, should I choose to dig the information out? Not that it's a
recommendation, but I notice it is something CVSNT maintains.

Charles
-- 
View this message in context: http://www.nabble.com/Maintaining-modified-dates-of-files-tf4080832.html#a11780183
Sent from the Mercurial mailing list archive at Nabble.com.



More information about the Mercurial mailing list