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

startĀ onĀ 0.5.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
 
48
48
from dulwich.objects import (
49
49
    Commit,
 
50
    Tag,
50
51
    )
51
52
 
52
53
 
171
172
        if foreign_revid == ZERO_SHA:
172
173
            return revision.NULL_REVISION
173
174
        commit = self._git[foreign_revid]
 
175
        while isinstance(commit, Tag):
 
176
            commit = self._git[commit.object[1]]
174
177
        rev, roundtrip_revid, verifiers = mapping.import_commit(commit,
175
178
            lambda x: None)
176
179
        # FIXME: check testament before doing this?