equal
deleted
inserted
replaced
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() |