Comment 12 for bug 245170

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 245170] Re: want to store file's modification time during commit

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

Andrew Schulman wrote:
>> Note that bug #488724 was fixed to address workflows involving building from sources via a Makefile.
>> Restoring modification time for files will break these workflows and we certainly don't want to make it
>> the default mode for bzr.
>
> Restoring the original modification times of all files, source and
> generated, in the working tree would certainly not break make projects.
> On the contrary, it would cause make to figure out correctly which files
> were newer than which other ones.
>
>> It should be
>> possible to write a plugin that stores this sort of metadata
>> in .bzrmeta/ and hooks into bzr core in various places to use a
>> different modification time.
>
> While someone is writing this hypothetical future plugin, they should
> store and restore file permissions and ACLs too. Thanks in advance :)
>

BTW, did you look at 'etckeeper' which is a high level wrapper around a
few VCS tools and does store at least Unix permissions and I think
modification times (it might only do unix perms.)

John
=:->

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

iEYEARECAAYFAkwpA0wACgkQJdeBCYSNAAPWLgCg0dgkvbHrilEIHrQWMY+NE/Ol
u+gAoLCorA/7aYIl/GrmS8YHt30Mv1iK
=+XnS
-----END PGP SIGNATURE-----