How can you get a copy of the source code from the server on a new machine, but preserve the file time stamps?
With the following procedure, all the time stamps are set to the current date/time.
hg init
Is there an option, or different procedure that will preserve the time stamps?
In this specific case, using Kiln with TortoiseHg.
You could use the Timestamp extension, if creating new "reference" timestamps will not be a problem. From its website:
It does this by means of a database file .hgtimestamp, residing in the repo's root and thus being versioned.
Other than this, I don't think it's possible.
I've read a little about Timestamp hook, and it seems to be exactly what you need.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With