##// END OF EJS Templates
cmdutil: return boolean result directly in want function
Martin Geisler -
r8119:af44d0b9 default
parent child Browse files
Show More
@@ -1142,9 +1142,7 b' def walkchangerevs(ui, repo, pats, chang'
1142 1142 if follow and not m.files():
1143 1143 ff = followfilter(onlyfirst=opts.get('follow_first'))
1144 1144 def want(rev):
1145 if ff.match(rev) and rev in wanted:
1146 return True
1147 return False
1145 return ff.match(rev) and rev in wanted
1148 1146 else:
1149 1147 def want(rev):
1150 1148 return rev in wanted
General Comments 0
You need to be logged in to leave comments. Login now