Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

repomodel: remove leading underscore from _hasmq

Changeset c4f5c665bc8d

Parent eaf4322ea695

by Steve Borho

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

 
132
133
134
135
 
136
137
138
 
159
160
161
162
163
 
 
164
165
166
 
132
133
134
 
135
136
137
138
 
159
160
161
 
 
162
163
164
165
166
@@ -132,7 +132,7 @@
  """   QAbstractTableModel.__init__(self, parent)   self.datacache = {} - self._hasmq = False + self.hasmq = False   self.mqueues = []   self.wd_revs = []   self.graph = None @@ -159,8 +159,8 @@
  # might occur if reloading during a mq operation (or   # whatever operation playing with hg history)   return - self._hasmq = hasattr(self.repo, "mq") - if self._hasmq: + self.hasmq = hasattr(self.repo, "mq") + if self.hasmq:   self.mqueues = self.repo.mq.series[:]   self.wd_revs = [ctx.rev() for ctx in wdctxs]   self.authorcolor = self.repo.ui.configbool('tortoisehg', 'authorcolor')