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

stable csinfo: do not update on initialize

On instantiation, csinfo was no longer update itself.
If you need it, please call update() method explicitly.

Changeset d608a408e596

Parent 2c5f4925bdd4

by Yuki KODAMA

Changes to 3 files · Browse files at d608a408e596 Showing diff from parent 2c5f4925bdd4 Diff from another changeset...

 
18
19
20
21
 
22
23
24
 
271
272
273
274
275
276
277
278
 
319
320
321
322
323
324
325
326
 
18
19
20
 
21
22
23
24
 
271
272
273
 
 
274
275
276
 
317
318
319
 
 
320
321
322
@@ -18,7 +18,7 @@
   PANEL_DEFAULT = ('rev', 'summary', 'user', 'date', 'branch', 'tags')   -def create(repo, rev, style=None, custom=None): +def create(repo, rev=None, style=None, custom=None):   return CachedFactory(repo, custom, style, rev)()    def factory(*args, **kargs): @@ -271,8 +271,6 @@
  self.table = gtklib.LayoutTable(ypad=1, headopts={'weight': 'bold'})   self.add(self.table)   - self.update() -   def update(self, rev=None, style=None, custom=None, repo=None):   ChangesetBase.update(self, rev, custom, repo)   if style is not None: @@ -319,8 +317,6 @@
  self.set_alignment(0, 0.5)   self.csstyle = style   - self.update() -   def update(self, rev=None, style=None, custom=None, repo=None):   ChangesetBase.update(self, rev, custom, repo)   if style is not None:
 
80
81
82
 
83
84
85
86
87
 
88
89
90
 
80
81
82
83
84
85
86
87
88
89
90
91
92
@@ -80,11 +80,13 @@
    info = factory(rev1, style={'label': _('Merge target (other)')})   self.vbox.pack_start(info, False, False) + info.update()   self.otherframe = info   self.otherrev = info.get_data('revnum')     info = factory(rev0, style={'label': _('Current revision (local)')})   self.vbox.pack_start(info, False, False) + info.update()   self.localframe = info   self.localrev = '???'  
 
240
241
242
 
243
244
245
 
240
241
242
243
244
245
246
@@ -240,6 +240,7 @@
  if info.parent:   info.parent.remove(info)   self.resultbox.pack_start(info, False, False, 2) + info.update()   def add_sep():   if not compactview:   self.resultbox.pack_start(gtk.HSeparator(), False, False)