/brz/remove-bazaar

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

« back to all changes in this revision

Viewing changes to fetch.py

Add more tests for fetch code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
        [])
134
134
    ie = inv.add_path(path, "directory", file_id)
135
135
    ie.revision = text_revision
136
 
    shagitmap.add_entry(tree.sha().hexdigest(), "tree",
137
 
        (file_id, text_revision))
 
136
    shagitmap.add_entry(tree.id, "tree", (file_id, text_revision))
138
137
    for mode, name, hexsha in tree.entries():
139
138
        entry_kind = (mode & 0700000) / 0100000
140
139
        basename = name.decode("utf-8")