Questions about timestamps

John Arbash Meinel john at arbash-meinel.com
Thu Aug 14 17:11:20 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

guerinp at magic.fr wrote:
> Hello All,
> 
> I have some question about timestamps of the commited files
> 
> - Are the true (from OS) timestamps, let's say last modified time, saved
> in the database when the files are commited ?

No.

> - If it's the case, is there a way to restore them when cloning or
> exporting a repository ?

We do record the timestamp of the commit, which would let you set each
file to a somewhat appropriate timestamp. We generally don't do that
because it interacts poorly with other tools. (make does the wrong thing
if you artificially rollback timestamps because then a newly modified
file *looks* unmodified.)

John
=:->


> 
> Thank you
> Kind regards


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkikWSgACgkQJdeBCYSNAAO6IgCglNaKCwa1zul7aSbuk5FupZr1
UykAnj+MyKK1pL6bEHGfwFtx29+DbcSO
=LGIQ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list