Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

history: move variables to init function

Changeset 3957d62bf6eb

Parent e31b01e63c63

by Steve Borho

Changes to one file · Browse files at 3957d62bf6eb Showing diff from parent e31b01e63c63 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​history.py Stacked
 
32
33
34
 
 
 
 
 
 
35
36
37
 
219
220
221
222
223
224
225
226
227
228
 
32
33
34
35
36
37
38
39
40
41
42
43
 
225
226
227
 
 
 
 
228
229
230
@@ -32,6 +32,12 @@
 class GLog(gdialog.GDialog):   """GTK+ based dialog for displaying repository logs   """ + def init(self): + self.last_rev = None + self.filter = "all" + self.currow = None + self.curfile = None +   def get_title(self):   return hglib.toutf(os.path.basename(self.repo.root)) + ' log'   @@ -219,10 +225,6 @@
    def prepare_display(self):   '''Called at end of display() method''' - self.last_rev = None - self.filter = "all" - self.currow = None - self.curfile = None   self.opts['rev'] = [] # This option is dangerous - used directly by hg   self.opts['revs'] = None   os.chdir(self.repo.root) # for paths relative to repo root