Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

csinfo: add update() to the base class

Changeset c597ff0da74c

Parent e6f8eb199805

by Yuki KODAMA

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

 
146
147
148
 
 
 
 
 
 
149
150
151
 
162
163
164
165
166
 
167
168
169
170
171
172
173
 
213
214
215
216
217
 
218
219
220
221
222
223
224
 
146
147
148
149
150
151
152
153
154
155
156
157
 
168
169
170
 
 
171
172
173
 
 
174
175
176
 
216
217
218
 
 
219
220
221
 
 
222
223
224
@@ -146,6 +146,12 @@
  return self.custom[item]['markup'](self, value)   return preset_func(self, value)   + def update(self, rev=None, repo=None): + if rev is not None: + self.rev = str(rev) + if repo is not None: + self.repo = repo +  class ChangesetPanel(ChangesetWidget, gtk.Frame):     def __init__(self, rev, style, repo, custom): @@ -162,12 +168,9 @@
  self.update()     def update(self, rev=None, style=None, repo=None): - if rev is not None: - self.rev = str(rev) + ChangesetWidget.update(self, rev, repo)   if style is not None:   self.csstyle = style - if repo is not None: - self.repo = repo     if 'label' in self.csstyle:   label = self.csstyle['label'] @@ -213,12 +216,9 @@
  self.update(rev)     def update(self, rev=None, style=None, repo=None): - if rev is not None: - self.rev = str(rev) + ChangesetWidget.update(self, rev, repo)   if style is not None:   self.csstyle = style - if repo is not None: - self.repo = repo     if 'selectable' in self.csstyle:   sel = self.csstylestyle['selectable']