monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] resolving name conflicts; file suturing vs drop


From: Thomas Moschny
Subject: Re: [Monotone-devel] resolving name conflicts; file suturing vs drop
Date: Mon, 5 May 2008 11:42:51 +0200
User-agent: KMail/1.9.9

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  <address@hidden>

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]