changeset 13356 | d96db730fcb2 |
parent 13355 | cce2e7b77e36 |
child 13357 | b67867940bd1 |
--- a/mercurial/localrepo.py Thu Feb 10 13:46:27 2011 -0600 +++ b/mercurial/localrepo.py Thu Feb 10 13:46:27 2011 -0600 @@ -716,6 +716,9 @@ transaction.rollback(self.sopener, self.sjoin("undo"), self.ui.warn) util.rename(self.join("undo.dirstate"), self.join("dirstate")) + if os.path.exists(self.join('undo.bookmarks')): + util.rename(self.join('undo.bookmarks'), + self.join('bookmarks')) try: branch = self.opener("undo.branch").read() self.dirstate.setbranch(branch)