Re: henrik: memory pool stuff

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 8 Feb 2004 03:24:07 +0100 (CET)

On Sun, 8 Feb 2004, Robert Collins wrote:

> Longer answer. Tla has to perform a full tree inventory to confirm
> whether files have been renamed, directories renamed etc.

While this is true, there is not really any need to go beyond
timestamp+size when determining if a file is modified or not.

So yes, you need to build an inventory of the tree, but you don't need to
read and compare each and every file in both the pristine and the working
tree, just the ones that dos not match the supposed inventory stored in
your metadata.

I notice the workingdirectory metadata (1.1) is missing signature data
such as expected modification time and size, but by just adding a little
signature data to the working directory you can quickly reduce what needs
to be looked at much in the same manner as CVS does which has been working
very well for ages. CVS only keeps modification time in the working
directory metadata for determining if a file is modified or not, but I
would recommend keeping size as well.

Regards
Henrik
Received on Sat Feb 07 2004 - 20:16:59 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:04 MST