[MERGE REVIEW] Use InventoryDirectory to represent tree root
Aaron Bentley
aaron.bentley at utoronto.ca
Tue Aug 8 01:18:07 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Arbash Meinel wrote:
> Actually, I think the above could be done as:
> entries = work_inv.iter_entries()
> entries.next()
> dir_cnt = sum(1 for path, ie in entries if ie.kind == 'directory')
> The rest of the changes look good to me.
Cool. Submitted, with your first sum variant.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE19g+0F+nu1YWqI0RAnFuAJ4tSrgwyPs6PkBQhr6qu/C3NkJJKgCfRK8f
rJOfCAn+f1MILSkITqCkE4Q=
=Vp5R
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list