Show More
@@ -1168,12 +1168,6 b' def diff(repo, node1=None, node2=None, f' | |||||
1168 | if not node1: |
|
1168 | if not node1: | |
1169 | node1 = repo.dirstate.parents()[0] |
|
1169 | node1 = repo.dirstate.parents()[0] | |
1170 |
|
1170 | |||
1171 | ccache = {} |
|
|||
1172 | def getctx(r): |
|
|||
1173 | if r not in ccache: |
|
|||
1174 | ccache[r] = context.changectx(repo, r) |
|
|||
1175 | return ccache[r] |
|
|||
1176 |
|
||||
1177 | flcache = {} |
|
1171 | flcache = {} | |
1178 | def getfilectx(f, ctx): |
|
1172 | def getfilectx(f, ctx): | |
1179 | flctx = ctx.filectx(f, filelog=flcache.get(f)) |
|
1173 | flctx = ctx.filectx(f, filelog=flcache.get(f)) |
General Comments 0
You need to be logged in to leave comments.
Login now