Show More
@@ -1217,7 +1217,7 b' class localrepository(repo.repository):' | |||||
1217 | # filter out the heads that cannot be reached from startrev |
|
1217 | # filter out the heads that cannot be reached from startrev | |
1218 | bheads = self.changelog.nodesbetween([start], bheads)[2] |
|
1218 | bheads = self.changelog.nodesbetween([start], bheads)[2] | |
1219 | if not closed: |
|
1219 | if not closed: | |
1220 |
bheads = [h for h in bheads if |
|
1220 | bheads = [h for h in bheads if | |
1221 | ('close' not in self.changelog.read(h)[5])] |
|
1221 | ('close' not in self.changelog.read(h)[5])] | |
1222 | return bheads |
|
1222 | return bheads | |
1223 |
|
1223 |
@@ -1359,7 +1359,7 b' def diffstatdata(lines):' | |||||
1359 | adds += 1 |
|
1359 | adds += 1 | |
1360 | elif line.startswith('-') and not line.startswith('---'): |
|
1360 | elif line.startswith('-') and not line.startswith('---'): | |
1361 | removes += 1 |
|
1361 | removes += 1 | |
1362 |
if filename: |
|
1362 | if filename: | |
1363 | yield (filename, adds, removes) |
|
1363 | yield (filename, adds, removes) | |
1364 |
|
1364 | |||
1365 | def diffstat(lines): |
|
1365 | def diffstat(lines): |
General Comments 0
You need to be logged in to leave comments.
Login now