Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7, 0.7.1, and 0.7.2

commit: skip refresh until window is mapped

commit.reload_status() was being called 5-7 times at startup, making
a lot of extra work. This improves startup time.

Changeset 7303cb38bc7a

Parent b02edd30a9a5

by Steve Borho

Changes to one file · Browse files at 7303cb38bc7a Showing diff from parent b02edd30a9a5 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​commit.py Stacked
 
199
200
201
 
202
203
204
 
199
200
201
202
203
204
205
@@ -199,6 +199,7 @@
      def reload_status(self): + if not self._ready: return False   success = GStatus.reload_status(self)   self._check_merge()   self._check_patch_queue()