##// END OF EJS Templates
cmdutil: move range check outside of filerevgen...
Nicolas Dumazet -
r12971:15390d1a stable
parent child Browse files
Show More
@@ -1138,7 +1138,7 b' def walkchangerevs(repo, match, opts, pr'
1138 continue
1138 continue
1139 # only yield rev for which we have the changelog, it can
1139 # only yield rev for which we have the changelog, it can
1140 # happen while doing "hg log" during a pull or commit
1140 # happen while doing "hg log" during a pull or commit
1141 if linkrev > maxrev or linkrev >= cl_count:
1141 if linkrev >= cl_count:
1142 break
1142 break
1143
1143
1144 parentlinkrevs = []
1144 parentlinkrevs = []
@@ -1180,7 +1180,7 b' def walkchangerevs(repo, match, opts, pr'
1180
1180
1181 # iterate from latest to oldest revision
1181 # iterate from latest to oldest revision
1182 for rev, flparentlinkrevs, copied in filerevgen(filelog, last):
1182 for rev, flparentlinkrevs, copied in filerevgen(filelog, last):
1183 if rev not in ancestors:
1183 if rev > maxrev or rev not in ancestors:
1184 continue
1184 continue
1185 # XXX insert 1327 fix here
1185 # XXX insert 1327 fix here
1186 if flparentlinkrevs:
1186 if flparentlinkrevs:
General Comments 0
You need to be logged in to leave comments. Login now