[RFC] question about different behavior of WorkingTree.iter_changes
Aaron Bentley
aaron at aaronbentley.com
Fri Apr 11 19:08:04 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Belchenko wrote:
> It's inevitable for me to use id2path for this cases because I need to know
> file basename or at least its file extension.
I don't see why that follows; the basename is an attribute of inventory
entries. You don't need id2path to find out the basename.
>> Note that we are trying to avoid *ever* generating a full inventory, but
>> if we do generate one, we cache it. I suppose it's possible that you're
>> doing something that invalidates the cache, but I think it's unlikely.
>
> Actually I don't need full inventory, just mapping between file_id and
> filenames
> and vice versa.
You were worried that id2path might be generating full inventories every
time. I was trying to say that I think this is unlikely.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH/6kE0F+nu1YWqI0RAksSAJ9Ipa0n6i4rmBZ5aHt90EVpLaIvLwCfQNn0
VA0bHf70XkHYRkkxGo/6X7U=
=tRBy
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list