/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

Viewing all changes in revision 4733.1.1.

  • Committer: John Arbash Meinel
  • Date: 2009-10-08 22:11:57 UTC
  • mto: This revision was merged to the branch mainline in revision 4751.
  • Revision ID: john@arbash-meinel.com-20091008221157-34vady0r80jpfhvk
Minor tweak to Inventory.path2id

Name the parameter 'relpath' rather than 'name', as 'name' generally means
just the last component of the path.
Change the CHKInventory.path2id code to cache all of the intermediate
values, rather than just caching the final value.
Also change the lookup loop to use the cache if it is available.
Note that ideally we would actually check the cache in reverse order
first, and then build up whatever is missing afterwards...

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: