author | Matt Mackall <mpm@selenic.com> |
Mon, 13 Nov 2006 13:26:57 -0600 | |
changeset 3630 | 508036290b00 |
parent 3629 | 4cfb72bcb978 |
child 3631 | 770c4fc03b8e |
--- a/mercurial/revlog.py Mon Nov 13 13:26:57 2006 -0600 +++ b/mercurial/revlog.py Mon Nov 13 13:26:57 2006 -0600 @@ -542,10 +542,10 @@ else: return self.index[rev][-5] - def reachable(self, rev, stop=None): + def reachable(self, node, stop=None): reachable = {} - visit = [rev] - reachable[rev] = 1 + visit = [node] + reachable[node] = 1 if stop: stopn = self.rev(stop) else: