equal
deleted
inserted
replaced
356 if v > nullmerge: |
356 if v > nullmerge: |
357 nstate[repo[k].node()] = repo[v].node() |
357 nstate[repo[k].node()] = repo[v].node() |
358 # XXX this is the same as dest.node() for the non-continue path -- |
358 # XXX this is the same as dest.node() for the non-continue path -- |
359 # this should probably be cleaned up |
359 # this should probably be cleaned up |
360 targetnode = repo[target].node() |
360 targetnode = repo[target].node() |
|
361 |
|
362 # restore original working directory |
|
363 # (we do this before stripping) |
|
364 newwd = state.get(originalwd, originalwd) |
|
365 if newwd not in [c.rev() for c in repo[None].parents()]: |
|
366 ui.note(_("update back to initial working directory parent\n")) |
|
367 hg.updaterepo(repo, newwd, False) |
361 |
368 |
362 if not keepf: |
369 if not keepf: |
363 collapsedas = None |
370 collapsedas = None |
364 if collapsef: |
371 if collapsef: |
365 collapsedas = newrev |
372 collapsedas = newrev |