Show More
@@ -276,7 +276,10 b' def applyupdates(repo, action, wctx, mct' | |||
|
276 | 276 | fcl = wctx[f] |
|
277 | 277 | fco = mctx[f2] |
|
278 | 278 | if mctx == actx: # backwards, use working dir parent as ancestor |
|
279 |
f |
|
|
279 | if fcl.parents(): | |
|
280 | fca = fcl.parents()[0] | |
|
281 | else: | |
|
282 | fca = repo.filectx(f, fileid=nullrev) | |
|
280 | 283 | else: |
|
281 | 284 | fca = fcl.ancestor(fco, actx) |
|
282 | 285 | if not fca: |
General Comments 0
You need to be logged in to leave comments.
Login now