Source

thg-qt-mq / 9141.diff

Full commit
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1287853379 -32400
# Node ID 68d065057cfe1beb656e7e02265c9e5a75531c03
# Parent  2a48d4b3782fb53d6999f8637ce929c7cb7f06ff
manifestdialog: switch content view on revision change if necessary

diff --git a/tortoisehg/hgqt/manifestdialog.py b/tortoisehg/hgqt/manifestdialog.py
--- a/tortoisehg/hgqt/manifestdialog.py
+++ b/tortoisehg/hgqt/manifestdialog.py
@@ -221,6 +221,7 @@ class ManifestWidget(QWidget):
     def setRev(self, rev):
         """Change revision to show"""
         self.setSource(self.path, rev)
+        self._updatecontent()
 
     @pyqtSlot(unicode, unicode)
     @pyqtSlot(unicode, object)