RFC: set timestamps on files created by bzr

Robert Collins robertc at robertcollins.net
Wed Jan 23 09:26:13 GMT 2008


On Wed, 2008-01-23 at 12:20 +1100, Andrew Cowie wrote:
> On Tue, 2008-01-22 at 23:04 +1100, Robert Collins wrote:
> > If bzr were to set a timestamp on any files it alters
> 
> On branch/pull/checkout, shouldn't it be setting the mtime of each
> individual file to the time that the file last was last changed (ie, the
> time of the write that preceded the commit)?

No; there are many issues with this and build system interactions; the
least of which is clock skew between different machines. A greater
problem is that one can merge a change from another user with a change
to a file you haven't changed, with a datestamp that is still older than
any of the output files produced from it, which confuses most build
systems horribly.

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080123/068c29d9/attachment.pgp 


More information about the bazaar mailing list