Commits

Steve Borho  committed 15d2774

history: invalidate dirstate after rebase

Fixes #1195

  • Participants
  • Parent commits 2f55c8d
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgtk/history.py

         cmdline = ['hg', 'rebase', '--source', str(revs[0]),
                    '--dest', str(revs[1])]
         self.execute_command(cmdline, force=True)
-        self.repo.invalidate()
+        hglib.invalidaterepo(self.repo)
         self.reload_log()
         self.changeview.clear()