Date and time stamps of files

Eric Hopper hopper at omnifarious.org
Fri Sep 9 13:51:30 CDT 2005


On Fri, Sep 09, 2005 at 11:34:38AM -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.
> > 
> > Is it a feature?! I would prefer to have ther original dates and times
> > of files. 
> 
> You're the first person to ask for such a feature. What do other
> systems do?

I don't know if svn makes for a good standard to test against, but it
doesn't do this.

Perforce records the file timestamp as in the version when you do a
commit and sets the timestamp of the checked out file.

cvs does as Perforce does.

Storing the timestamp of the checked in file would require some deeper
changes to Mercurial to store that metadata in the manifest.  So, even
if that behavior is desired, I assume it would be awhile in coming.
Setting the timestamp to the commit time for the change would be
possible.

Manfred, why do you want this feature?

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/2f69fae3/attachment-0001.pgp


More information about the Mercurial mailing list