Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 33454:3c20d7ef42e1
localrepo: use the 'registernew' function to set the phase of new commit
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Tue, 11 Jul 2017 01:05:27 +0200 |
parents | e44d54260c32 |
children | 0407a51b9d8c |
line wrap: on
line diff
--- a/mercurial/localrepo.py Tue Jul 11 03:47:25 2017 +0200 +++ b/mercurial/localrepo.py Tue Jul 11 01:05:27 2017 +0200 @@ -1952,7 +1952,7 @@ # be compliant anyway # # if minimal phase was 0 we don't need to retract anything - phases.retractboundary(self, tr, targetphase, [n]) + phases.registernew(self, tr, targetphase, [n]) tr.close() return n finally: