mercurial/cmdutil.py
changeset 45388 6ba7190ff863
parent 45375 8c466bcb0879
child 45457 d2b5a7659fff
equal deleted inserted replaced
45387:cf21cda4281f 45388:6ba7190ff863
  3257 
  3257 
  3258         commitphase = None
  3258         commitphase = None
  3259         if opts.get(b'secret'):
  3259         if opts.get(b'secret'):
  3260             commitphase = phases.secret
  3260             commitphase = phases.secret
  3261         newid = repo.commitctx(new)
  3261         newid = repo.commitctx(new)
       
  3262         ms.reset()
  3262 
  3263 
  3263         # Reroute the working copy parent to the new changeset
  3264         # Reroute the working copy parent to the new changeset
  3264         repo.setparents(newid, nullid)
  3265         repo.setparents(newid, nullid)
  3265         mapping = {old.node(): (newid,)}
  3266         mapping = {old.node(): (newid,)}
  3266         obsmetadata = None
  3267         obsmetadata = None