Show More
@@ -451,6 +451,10 b' class filectx(object):' | |||||
451 | find the common ancestor file context, if any, of self, and fc2 |
|
451 | find the common ancestor file context, if any, of self, and fc2 | |
452 | """ |
|
452 | """ | |
453 |
|
453 | |||
|
454 | actx = self.changectx().ancestor(fc2.changectx()) | |||
|
455 | if self.path() in actx: | |||
|
456 | return actx[self.path()] | |||
|
457 | ||||
454 | acache = {} |
|
458 | acache = {} | |
455 |
|
459 | |||
456 | # prime the ancestor cache for the working directory |
|
460 | # prime the ancestor cache for the working directory |
General Comments 0
You need to be logged in to leave comments.
Login now