/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 mapping.py

Use BazaarObjectStore to find matching SHA1s for bzr revisions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
276
276
    commit.tree = tree_sha
277
277
    for p in rev.parent_ids:
278
278
        git_p = parent_lookup(p)
279
 
        if type(git_p) == tuple:
280
 
            git_p = git_p[0]
281
279
        if git_p is not None:
282
280
            assert len(git_p) == 40, "unexpected length for %r" % git_p
283
281
            commit.parents.append(git_p)