/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

  • Committer: Jelmer Vernooij
  • Date: 2010-05-02 18:32:55 UTC
  • mto: (0.200.912 trunk)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@samba.org-20100502183255-vdvzcj2sb66cga3p
Fix file id map (de)serialization.

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
            o = self._git.object_store[sha]
119
119
            if not isinstance(o, Commit):
120
120
                continue
121
 
            rev, file_ids = self.get_mapping().import_commit(o)
 
121
            rev = self.get_mapping().import_commit(o)
122
122
            ret.append(rev.revision_id)
123
123
        return ret
124
124
 
180
180
        except KeyError:
181
181
            raise errors.NoSuchRevision(self, revision_id)
182
182
        # print "fetched revision:", git_commit_id
183
 
        revision, file_ids = mapping.import_commit(commit)
 
183
        revision = mapping.import_commit(commit)
184
184
        assert revision is not None
185
185
        return revision
186
186