Mercurial > hg
changeset 854:473c030d34a6
Fixed revlog.children.
It was comparing a node to a rev, then appending a rev onto the list
of children being constructed instead of a node.
author | Tristan Wibberley <tristan@wibberley.org> |
---|---|
date | Sat, 06 Aug 2005 21:58:28 +0100 |
parents | b8ff3f8c4062 |
children | a107c64c76be |
files | mercurial/revlog.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revlog.py Sat Aug 06 21:41:53 2005 +0100 +++ b/mercurial/revlog.py Sat Aug 06 21:58:28 2005 +0100 @@ -185,8 +185,8 @@ for r in range(p + 1, self.count()): n = self.node(r) for pn in self.parents(n): - if pn == p: - c.append(p) + if pn == node: + c.append(n) continue elif pn == nullid: continue