Getting rid of RootEntry?

Robert Collins robertc at robertcollins.net
Wed Jan 18 03:37:58 GMT 2006


On Wed, 2006-01-18 at 12:39 +1100, Martin Pool wrote:
> 
> Right, for example it would be a clean way to get nice user behaviour
> when a file is replaced by a symlink of the same name.  Not allowing
> files to change type seems to imply that at least internally there
> will
> be an add & remove operation.  But as you say it does introduce more
> edge cases and so room for bugs. 

I think the right thing to do is to split the entry and the content 
:
FileEntry -> InventoryEntry and FileContent
DirectoryEntry -> InventoryEntry and DirectoryContent


etc, 

and then allow content object changes between revisions.

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/20060118/55446e3a/attachment.pgp 


More information about the bazaar mailing list