mercurial/localrepo.py
changeset 33454 3c20d7ef42e1
parent 33451 e44d54260c32
child 33499 0407a51b9d8c
equal deleted inserted replaced
33453:f6b7617a85bb 33454:3c20d7ef42e1
  1950                 # retract boundary do not alter parent changeset.
  1950                 # retract boundary do not alter parent changeset.
  1951                 # if a parent have higher the resulting phase will
  1951                 # if a parent have higher the resulting phase will
  1952                 # be compliant anyway
  1952                 # be compliant anyway
  1953                 #
  1953                 #
  1954                 # if minimal phase was 0 we don't need to retract anything
  1954                 # if minimal phase was 0 we don't need to retract anything
  1955                 phases.retractboundary(self, tr, targetphase, [n])
  1955                 phases.registernew(self, tr, targetphase, [n])
  1956             tr.close()
  1956             tr.close()
  1957             return n
  1957             return n
  1958         finally:
  1958         finally:
  1959             if tr:
  1959             if tr:
  1960                 tr.release()
  1960                 tr.release()