RFC: deprecate 'root' on inventory.
Martin Pool
mbp at canonical.com
Thu Oct 2 05:08:18 BST 2008
On Thu, Oct 2, 2008 at 12:25 PM, Robert Collins
<robertc at robertcollins.net> wrote:
> Currently, the root entry in an inventory is a little odd - its the only
> entry addressable by name. I'd like to remove it, and instead have just
> 'root_id' instead.
>
> So code that does 'inv.root.file_id' would do 'inv.root_id', and code
> that actually needs the root entry specifically would do
> inv[inv.root_id].
That sounds ok to me.
--
Martin <http://launchpad.net/~mbp/>
More information about the bazaar
mailing list