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

Fix handling of ZERO_SHA in lookup_git_sha.

Show diffs side-by-side

added added

removed removed

Lines of Context:
515
515
        ret = {}
516
516
        for sha in shas:
517
517
            if sha == ZERO_SHA:
518
 
                ret[sha] = NULL_REVISION
 
518
                ret[sha] = ("commit", (NULL_REVISION, None))
519
519
                continue
520
520
            try:
521
521
                ret[sha] = self._cache.idmap.lookup_git_sha(sha)