On Monday 05 May 2008, Ludovic Brenta wrote:
> It seems to me that, if the node ids were content hashes, it would solve a
> lot of problems. For one thing, creating two identical files would yield
> the same node id. For another, creating two different files with the same
> name on different branches would become a "simple" content conflict.

What do you think the hash should be based on? Initial file content? While 
this may sound appealing, I don't think it is a good idea to use hashes 
instead of node ids at all. Because then to easily two files, which happen to 
have the same contents at birth time will erroneously (and magically, from a 
user's pov) get the same file identity. So we would then run into problems 
again. Also, think of directories, they don't have content of their own to be 
hashed.

What we really want here, is suturing.

- Thomas

-- 
Thomas Moschny  <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to