Mercurial > hg
diff mercurial/commit.py @ 45790:5d65e04b6a80
phases: convert registernew users to use revision sets
Differential Revision: https://phab.mercurial-scm.org/D9233
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Tue, 20 Oct 2020 17:32:45 +0200 |
parents | 0428978bca22 |
children | 330c258fe7ca |
line wrap: on
line diff
--- a/mercurial/commit.py Mon Oct 19 02:54:12 2020 +0200 +++ b/mercurial/commit.py Tue Oct 20 17:32:45 2020 +0200 @@ -105,7 +105,7 @@ # be compliant anyway # # if minimal phase was 0 we don't need to retract anything - phases.registernew(repo, tr, targetphase, [n]) + phases.registernew(repo, tr, targetphase, [repo[n].rev()]) return n