changeset 18661 | 4fb92f14a97a |
parent 18660 | 7e6946ed5756 |
child 18672 | b2b4ddc55caa |
--- a/mercurial/localrepo.py Fri Feb 08 05:36:08 2013 -0800 +++ b/mercurial/localrepo.py Fri Feb 08 05:36:08 2013 -0800 @@ -1279,11 +1279,7 @@ # update bookmarks, dirstate and mergestate bookmarks.update(self, [p1, p2], ret) - for f in changes[0] + changes[1]: - self.dirstate.normal(f) - for f in changes[2]: - self.dirstate.drop(f) - self.dirstate.setparents(ret) + cctx.markcommitted(ret) ms.reset() finally: wlock.release()