[attn aaron] differences between RevisionTree and WorkingTree

John Arbash Meinel john at arbash-meinel.com
Thu Jul 20 15:25:23 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
> On Thu, 2006-07-20 at 09:31 -0400, Aaron Bentley wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Robert Collins wrote:
>>> Heres an interesting little quirk - 
>>> I'd like to make this consistent in some manner - Aaron, what would work
>>> best with your tree root work ?
>> The RevisionTree behaviour would be best.  One of the pushes of the
>> nested-trees work is to make the root entry as similar to the other
>> entries as possible.
> 
> Looks to me like the cleanest way to fix this is for
> inventory.iter_entries() to yield self.root as well as the other
> elements.
> 
> That sound ok to everyone ?
> 
> Rob

I think we can do it tentatively, and explore the consequences. It
sounds like a good thing to do in general.

I know that 'delta.py' is going to say that your first revision has an
'added' file of ''.

So just doing 'bzr init; bzr status' is going to say there is something
there. And since the string is empty, it isn't clear what was added.
We really should give a better message. But that means 'root' is special
cased again ....

Anyway, I'd be happy to see this. Just feel it has some longer reaching
implications.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEv5JTJdeBCYSNAAMRAj6WAJ9x4t7it0u4o8oODKrMEI0TqI8zbQCghNo2
DOZFYz1WE7DFpt9C6VvHVeU=
=XNKX
-----END PGP SIGNATURE-----




More information about the bazaar mailing list