reloads manifest and changelog after recovering
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 16 Dec 2005 01:32:28 -0600
changeset 1590 bae3f3f993d6
parent 1589 fce5292866c6
child 1591 5a3229cf1492
reloads manifest and changelog after recovering
mercurial/localrepo.py
--- 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"))