mercurial/merge.py
changeset 44090 2f0a44c69e07
parent 44089 bd22e90c54b3
child 44092 833210fbd900
equal deleted inserted replaced
44089:bd22e90c54b3 44090:2f0a44c69e07
  2633 
  2633 
  2634     with repo.dirstate.parentchange():
  2634     with repo.dirstate.parentchange():
  2635         repo.setparents(pctx.node(), pother)
  2635         repo.setparents(pctx.node(), pother)
  2636         repo.dirstate.write(repo.currenttransaction())
  2636         repo.dirstate.write(repo.currenttransaction())
  2637         # fix up dirstate for copies and renames
  2637         # fix up dirstate for copies and renames
  2638         copies.duplicatecopies(repo, wctx, ctx.rev(), base.rev())
  2638         copies.graftcopies(repo, wctx, ctx, base)
  2639     return stats
  2639     return stats
  2640 
  2640 
  2641 
  2641 
  2642 def purge(
  2642 def purge(
  2643     repo,
  2643     repo,