##// END OF EJS Templates
reachableroots: use smartset min...
Pierre-Yves David -
r26093:20413113 default
parent child Browse files
Show More
@@ -133,9 +133,7 b' def reachableroots(repo, roots, heads, i'
133 133 If includepath is True, return (<roots>::<heads>)."""
134 134 if not roots:
135 135 return baseset()
136 # XXX this should be 'parentset.min()' assuming 'parentset' is a smartset
137 # (and if it is not, it should.)
138 minroot = min(roots)
136 minroot = roots.min()
139 137 roots = list(roots)
140 138 heads = list(heads)
141 139 try:
General Comments 0
You need to be logged in to leave comments. Login now