Show More
@@ -444,8 +444,16 b' class revlog(object):' | |||||
444 | 'heads' and 'common' are both lists of node IDs. If heads is |
|
444 | 'heads' and 'common' are both lists of node IDs. If heads is | |
445 | not supplied, uses all of the revlog's heads. If common is not |
|
445 | not supplied, uses all of the revlog's heads. If common is not | |
446 | supplied, uses nullid.""" |
|
446 | supplied, uses nullid.""" | |
447 | _common, missing = self.findcommonmissing(common, heads) |
|
447 | if common is None: | |
448 | return missing |
|
448 | common = [nullid] | |
|
449 | if heads is None: | |||
|
450 | heads = self.heads() | |||
|
451 | ||||
|
452 | common = [self.rev(n) for n in common] | |||
|
453 | heads = [self.rev(n) for n in heads] | |||
|
454 | ||||
|
455 | return [self.node(r) for r in | |||
|
456 | ancestor.missingancestors(heads, common, self.parentrevs)] | |||
449 |
|
457 | |||
450 | def nodesbetween(self, roots=None, heads=None): |
|
458 | def nodesbetween(self, roots=None, heads=None): | |
451 | """Return a topological path from 'roots' to 'heads'. |
|
459 | """Return a topological path from 'roots' to 'heads'. |
General Comments 0
You need to be logged in to leave comments.
Login now