Mercurial > hg
comparison hgext/convert/bzr.py @ 8166:56719b1aa6f4
Merge with crew-stable
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 26 Apr 2009 11:49:17 +0200 |
parents | ddbee2d0d634 78658990c725 |
children | 1b60efdb8bc5 |
comparison
equal
deleted
inserted
replaced
8164:aaec1f65926e | 8166:56719b1aa6f4 |
---|---|
121 return bytetags | 121 return bytetags |
122 | 122 |
123 def getchangedfiles(self, rev, i): | 123 def getchangedfiles(self, rev, i): |
124 self._modecache = {} | 124 self._modecache = {} |
125 curtree = self.sourcerepo.revision_tree(rev) | 125 curtree = self.sourcerepo.revision_tree(rev) |
126 parentids = self._parentids.pop(rev) | |
127 if i is not None: | 126 if i is not None: |
128 parentid = parentids[i] | 127 parentid = self._parentids[rev][i] |
129 else: | 128 else: |
130 # no parent id, get the empty revision | 129 # no parent id, get the empty revision |
131 parentid = revision.NULL_REVISION | 130 parentid = revision.NULL_REVISION |
132 | 131 |
133 prevtree = self.sourcerepo.revision_tree(parentid) | 132 prevtree = self.sourcerepo.revision_tree(parentid) |