Commits

Emmanuel Rosa  committed 5a8f95d

history: modify ancestor lookup to use self.goto_rev()

  • Participants
  • Parent commits 3dbe2fb
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgtk/history.py

         lookup = self.repo.lookup
         ancestor = changelog.ancestor(lookup(rev1), lookup(rev2))
         rev = changelog.rev(ancestor)
-        self.graphview.set_revision_id(rev, True)
+        self.goto_rev(rev)
 
     def thgrefresh(self, window):
         self.reload_log()