[RFC] sha1 of fileid naming for knit files

Robert Collins robertc at robertcollins.net
Tue Oct 31 23:50:34 GMT 2006


On Tue, 2006-10-31 at 17:40 -0600, John Arbash Meinel wrote:
> 
> Anyway, mapping through sha1 would be okay, and it would mean we have
> fixed size records, and don't have to worry about escaping the path on
> disk. But we really need the reverse mapping first.

Because user data cannot control the path ids used, the sha1 approach
seems ok to me as-is, though I too would prefer a reverse mapping in the
index to allow detection of collisions.

-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/20061101/22756fef/attachment.pgp 


More information about the bazaar mailing list