diff -r ccef71de7d41 -r 2b6692df1bdf mercurial/localrepo.py --- a/mercurial/localrepo.py Tue May 02 21:35:06 2017 +0200 +++ b/mercurial/localrepo.py Tue May 02 18:56:07 2017 +0200 @@ -1794,7 +1794,6 @@ # if minimal phase was 0 we don't need to retract anything phases.retractboundary(self, tr, targetphase, [n]) tr.close() - branchmap.updatecache(self.filtered('served')) return n finally: if tr: