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

cmdui: rename Core.get_rawoutput() to Core.rawoutput()

Changeset ffd118e1fc4d

Parent c57ed19e569e

by Steve Borho

Changes to 3 files · Browse files at ffd118e1fc4d Showing diff from parent c57ed19e569e Diff from another changeset...

 
148
149
150
151
 
152
153
154
 
196
197
198
199
200
 
 
201
202
203
 
214
215
216
217
 
218
219
220
 
248
249
250
251
 
252
253
254
 
316
317
318
319
 
320
321
322
 
148
149
150
 
151
152
153
154
 
196
197
198
 
 
199
200
201
202
203
 
214
215
216
 
217
218
219
220
 
248
249
250
 
251
252
253
254
 
316
317
318
 
319
320
321
322
@@ -148,7 +148,7 @@
  self.extproc = None   self.stbar = None   self.queue = [] - self.rawoutput = [] + self.rawoutlines = []   self.display = None   self.useproc = False   self.internallog = useInternal @@ -196,8 +196,8 @@
  pass   return False   - def get_rawoutput(self): - return ''.join(self.rawoutput) + def rawoutput(self): + return ''.join(self.rawoutlines)     ### Private Method ###   @@ -214,7 +214,7 @@
  exepath = paths.find_in_path('hg')     def start(cmdline, display): - self.rawoutput = [] + self.rawoutlines = []   if display:   cmd = '%% hg %s\n' % display   else: @@ -248,7 +248,7 @@
    def stdout():   data = proc.readAllStandardOutput().data() - self.rawoutput.append(data) + self.rawoutlines.append(data)   self.output.emit(hglib.tounicode(data), '')     def stderr(): @@ -316,7 +316,7 @@
  return # run next command   else:   self.queue = [] - self.rawoutput = [hglib.fromunicode(self.thread.rawoutput.join(''))] + self.rawoutlines = [hglib.fromunicode(self.thread.rawoutput.join(''))]     self.commandFinished.emit(ret)  
 
345
346
347
348
 
349
350
351
 
345
346
347
 
348
349
350
351
@@ -345,7 +345,7 @@
  self.qui.progress_bar.hide()   self.qui.progress_label.hide()   - output = self.cmd.core.get_rawoutput() + output = self.cmd.core.rawoutput()     saved = 'saved:' in output   published = 'published:' in output
 
506
507
508
509
 
510
511
512
 
506
507
508
 
509
510
511
512
@@ -506,7 +506,7 @@
  if b: b.setEnabled(True)   self.stopAction.setEnabled(False)   if self.finishfunc: - output = self.cmd.core.get_rawoutput() + output = self.cmd.core.rawoutput()   self.finishfunc(ret, output)     def run(self, cmdline, details):