~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml5.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-16 23:38:03 UTC
  • mto: This revision was merged to the branch mainline in revision 1942.
  • Revision ID: john@arbash-meinel.com-20060816233803-9c192384559be0fa
Caching revision_ids costs us a little (512 vs 475), but caching file-ids costs us a lot (780 vs 512), so disabling caching of file ids for now

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
        parent_id = elt.get('parent_id')
286
286
        if parent_id == None:
287
287
            parent_id = ROOT_ID
288
 
        parent_id = get_cached(parent_id)
289
 
        file_id = get_cached(elt.get('file_id'))
 
288
        #parent_id = get_cached(parent_id)
 
289
        #file_id = get_cached(elt.get('file_id'))
 
290
        file_id = elt.get('file_id')
290
291
 
291
292
        if kind == 'directory':
292
293
            ie = inventory.InventoryDirectory(file_id,