##// 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 If includepath is True, return (<roots>::<heads>)."""
133 If includepath is True, return (<roots>::<heads>)."""
134 if not roots:
134 if not roots:
135 return baseset()
135 return baseset()
136 # XXX this should be 'parentset.min()' assuming 'parentset' is a smartset
136 minroot = roots.min()
137 # (and if it is not, it should.)
138 minroot = min(roots)
139 roots = list(roots)
137 roots = list(roots)
140 heads = list(heads)
138 heads = list(heads)
141 try:
139 try:
General Comments 0
You need to be logged in to leave comments. Login now