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