I agree that this is the most common. I doubt that bzr-svn et al could get rid of .inventory entirely, but certainly it could be rare for them to need to populate it.
I think there is an ugly hack in doing:
tree.iter_entries_by_dir(file_id).next()[1].revision
I agree that this is the most common. I doubt that bzr-svn et al could get rid of .inventory entirely, but certainly it could be rare for them to need to populate it.
I think there is an ugly hack in doing: iter_entries_ by_dir( file_id) .next() [1].revision
tree.
But I'm not positive about that.