Date and time stamps of files

Eric Hopper hopper at omnifarious.org
Fri Sep 9 13:55:23 CDT 2005


On Fri, Sep 09, 2005 at 11:41:21AM -0700, Bryan O'Sullivan wrote:
> On Fri, 2005-09-09 at 11:34 -0700, Matt Mackall wrote:
> > On Fri, Sep 09, 2005 at 08:15:36PM +0200, Manfred Lotz wrote:
> > > I observed when I check out older revisions the file date and time
> > > stamps do not reflect the original date and time stamps when they were
> > > committed.
> 
> > You're the first person to ask for such a feature. What do other
> > systems do?
> 
> Nobody that I've seen sets the timestamp back to whenever the commit was
> done.  That absolutely guarantees broken builds with timestamp-based
> build tools like make.

Well, that depends.  I can see someone relying on this behavior to make
their timestamp based build environment work the way they expect it to.
For example, perhaps they keep the source and object files in separate
directory trees and do a full repository destroy and refresh every time
they build to make sure any junk that made it into the source tree gets
cleaned up.

Have fun (if at all possible),
-- 
"It does me no injury for my neighbor to say there are twenty gods or no God.
It neither picks my pocket nor breaks my leg."  --- Thomas Jefferson
"Go to Heaven for the climate, Hell for the company."  -- Mark Twain
-- Eric Hopper (hopper at omnifarious.org  http://www.omnifarious.org/~hopper) --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial/attachments/20050909/242f1442/attachment.pgp


More information about the Mercurial mailing list