##// END OF EJS Templates
patch: use the public ctx API instead of the internals
Benoit Boissinot -
r9684:618af203 default
parent child Browse files
Show More
@@ -1227,7 +1227,7 b' def diff(repo, node1=None, node2=None, m'
1227 if f not in cache:
1227 if f not in cache:
1228 if len(cache) > 20:
1228 if len(cache) > 20:
1229 del cache[order.pop(0)]
1229 del cache[order.pop(0)]
1230 cache[f] = fctx._filelog
1230 cache[f] = fctx.filelog()
1231 else:
1231 else:
1232 order.remove(f)
1232 order.remove(f)
1233 order.append(f)
1233 order.append(f)
General Comments 0
You need to be logged in to leave comments. Login now