equal
deleted
inserted
replaced
121 return reachable |
121 return reachable |
122 for rev in sorted(seen): |
122 for rev in sorted(seen): |
123 for parent in seen[rev]: |
123 for parent in seen[rev]: |
124 if parent in reachable: |
124 if parent in reachable: |
125 reached(rev) |
125 reached(rev) |
126 return baseset(sorted(reachable)) |
126 reachable = baseset(reachable) |
|
127 reachable.sort() |
|
128 return reachable |
127 |
129 |
128 def reachableroots(repo, roots, heads, includepath=False): |
130 def reachableroots(repo, roots, heads, includepath=False): |
129 """return (heads(::<roots> and ::<heads>)) |
131 """return (heads(::<roots> and ::<heads>)) |
130 |
132 |
131 If includepath is True, return (<roots>::<heads>).""" |
133 If includepath is True, return (<roots>::<heads>).""" |