RFC: set timestamps on files created by bzr

Bernhard Voelker list at bernhard-voelker.de
Wed Jan 23 06:32:52 GMT 2008


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)?
>
> [and, hence, shouldn't that be what we store?]
>   

Then a `touch file` should be detected by `bzr status` and also lead to 
a new revision on `bzr ci`, right?

The timestamp is only one part of metadata other VCSs store, e.g. 
ClearCase even distinguishes between
mtime and checkin time, i.e. the checkin time goes into the log while 
the mtime is used when accessing
the file (a "checkout" is sth. diferent there). I like this feature.

Have a nice day,
Berny



More information about the bazaar mailing list