Comment 1 for bug 245170

Revision history for this message
Neal McBurnett (nealmcb) wrote : Re: file modification time not preserved by checkout

I can confirm this on ubuntu linux hardy, bzr 1.3.1 using the bzr branch command.

It is a problem for the project I'm developing, because I want to deliver test files to the end user, and the file modification times of the test files are important to the functioning of the program - it processes them chronologically.

Everything else in my development and packaging toolchain seems to preserve file modification times (setuptools, tar, dpkg, etc), so bzr is the weak link in the chain, when I or others build a distribution from a branch other than my original trunk directory.

I guess I have to either always distribute from the original directory (not great for distributed development, and more risk of including unwanted files or changes) or deliver the files inside a zip archive or the like, and unpack them at install time.

Support for preserving file metadata like create and modification times would be useful in
many circumstances.

Modification times are far more portable and far less problematic than the permission and ownership metadata discussed in https://bugs.edge.launchpad.net/bzr/+bug/67589