mercurial/commit.py
changeset 45790 5d65e04b6a80
parent 45715 0428978bca22
child 45794 330c258fe7ca
equal deleted inserted replaced
45789:09735cde6275 45790:5d65e04b6a80
   103             # retract boundary do not alter parent changeset.
   103             # retract boundary do not alter parent changeset.
   104             # if a parent have higher the resulting phase will
   104             # if a parent have higher the resulting phase will
   105             # be compliant anyway
   105             # be compliant anyway
   106             #
   106             #
   107             # if minimal phase was 0 we don't need to retract anything
   107             # if minimal phase was 0 we don't need to retract anything
   108             phases.registernew(repo, tr, targetphase, [n])
   108             phases.registernew(repo, tr, targetphase, [repo[n].rev()])
   109         return n
   109         return n
   110 
   110 
   111 
   111 
   112 def _prepare_files(tr, ctx, error=False, origctx=None):
   112 def _prepare_files(tr, ctx, error=False, origctx=None):
   113     repo = ctx.repo()
   113     repo = ctx.repo()