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

hglib: correct several errors

correct errors introduced while updateing to new ui

Changeset b4a33f06cad8

Parent 57dfee27f841

by Simon Heimberg

Changes to one file · Browse files at b4a33f06cad8 Showing diff from parent 57dfee27f841 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​hglib.py Stacked
 
116
117
118
 
 
119
120
 
 
 
121
122
123
 
302
303
304
305
 
306
307
308
 
116
117
118
119
120
121
 
122
123
124
125
126
127
 
306
307
308
 
309
310
311
312
@@ -116,8 +116,12 @@
  def __init__(self, src=None, outputq=None, dialogq=None, responseq=None,   parentui=None):   if parentui: + # Mercurial 1.2 + super(GtkUi, self).__init__(parentui=parentui)   src = parentui - super(GtkUi, self).__init__(src) + else: + # Mercurial 1.3 + super(GtkUi, self).__init__(src)   if src:   self.outputq = src.outputq   self.dialogq = src.dialogq @@ -302,7 +306,7 @@
  config = _earlygetopt(['--config'], args)   if config:   for section, name, value in dispatch._parseconfig(config): - self.setconfig(section, name, value) + ui.setconfig(section, name, value)     # check for cwd   cwd = _earlygetopt(['--cwd'], args)