changeset 1590:bae3f3f993d6

reloads manifest and changelog after recovering
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 16 Dec 2005 01:32:28 -0600
parents fce5292866c6
children 5a3229cf1492
files mercurial/localrepo.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Fri Dec 16 00:12:00 2005 -0600
+++ b/mercurial/localrepo.py	Fri Dec 16 01:32:28 2005 -0600
@@ -226,6 +226,8 @@
         if os.path.exists(self.join("journal")):
             self.ui.status(_("rolling back interrupted transaction\n"))
             transaction.rollback(self.opener, self.join("journal"))
+            self.manifest = manifest.manifest(self.opener)
+            self.changelog = changelog.changelog(self.opener)
             return True
         else:
             self.ui.warn(_("no interrupted transaction available\n"))