Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.4, 2.0.5, and 2.1

stable thgrepo: do not start a timer for bundlerepo instances (refs #531)

Perhaps the crashes in #531 are caused by the bundlerepo instances that are
being created and then allowed to gc.

Changeset f2374c2cdcb8

Parent ca391598a3e1

by Steve Borho

Changes to one file · Browse files at f2374c2cdcb8 Showing diff from parent ca391598a3e1 Diff from another changeset...

 
81
82
83
84
 
 
 
 
85
86
87
 
81
82
83
 
84
85
86
87
88
89
90
@@ -81,7 +81,10 @@
  freq = max(100, int(freq))   except:   freq = 500 - self._timerevent = self.startTimer(freq) + if isinstance(repo, bundlerepo.bundlerepository): + dbgoutput('not starting timer for bundle repository') + else: + self._timerevent = self.startTimer(freq)     def timerEvent(self, event):   if not os.path.exists(self.repo.path):