# HG changeset patch
# User Wagner Bruna <wbr...@softwareexpress.com.br>
# Date 1257275539 7200
# Branch stable
# Node ID a7c8f79b57aae079b00803daf2708c705389690d
# Parent  30891973434862d10260ce8fef0330a99ce30d91
history: leave preview mode after pulling last bundle revision

diff --git a/tortoisehg/hgtk/history.py b/tortoisehg/hgtk/history.py
--- a/tortoisehg/hgtk/history.py
+++ b/tortoisehg/hgtk/history.py
@@ -1792,7 +1792,10 @@
         if hasattr(self, 'mqwidget'):
             self.mqwidget.set_repo(self.repo)
         self.npreviews = len(self.repo) - curtip
-        self.reload_log()
+        if self.npreviews == 0:
+            self.remove_overlay(False)
+        else:
+            self.reload_log()
 
     def copy_hash(self, menuitem):
         hash = self.repo[self.currevid].hex()

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to