Show More
@@ -161,11 +161,11 b' class histpacktests(unittest.TestCase):' | |||
|
161 | 161 | pack = self.createPack(revisions) |
|
162 | 162 | |
|
163 | 163 | # Verify the pack contents |
|
164 |
for (filename, node), (p1, p2, lastnode) in allentries. |
|
|
164 | for (filename, node), (p1, p2, lastnode) in allentries.items(): | |
|
165 | 165 | ancestors = pack.getancestors(filename, node) |
|
166 | 166 | self.assertEquals(ancestorcounts[(filename, node)], |
|
167 | 167 | len(ancestors)) |
|
168 |
for anode, (ap1, ap2, alinknode, copyfrom) in ancestors. |
|
|
168 | for anode, (ap1, ap2, alinknode, copyfrom) in ancestors.items(): | |
|
169 | 169 | ep1, ep2, elinknode = allentries[(filename, anode)] |
|
170 | 170 | self.assertEquals(ap1, ep1) |
|
171 | 171 | self.assertEquals(ap2, ep2) |
General Comments 0
You need to be logged in to leave comments.
Login now