##// END OF EJS Templates
dagop: use smartset.min() in revdescendants() generator...
Yuya Nishihara -
r33076:a76a64c7 default
parent child Browse files
Show More
@@ -91,9 +91,7 b' def _genrevdescendants(repo, revs, follo'
91 cut = None
91 cut = None
92
92
93 cl = repo.changelog
93 cl = repo.changelog
94 # XXX this should be 'parentset.min()' assuming 'parentset' is a
94 first = revs.min()
95 # smartset (and if it is not, it should.)
96 first = min(revs)
97 nullrev = node.nullrev
95 nullrev = node.nullrev
98 if first == nullrev:
96 if first == nullrev:
99 # Are there nodes with a null first parent and a non-null
97 # Are there nodes with a null first parent and a non-null
General Comments 0
You need to be logged in to leave comments. Login now