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

synch: only capture stdout/stderr on Windows

On Mac, this breaks the dialog.

Changeset d673661924ed

Parent 4444a6069a20

by Steve Borho

Changes to one file · Browse files at d673661924ed Showing diff from parent 4444a6069a20 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​synch.py Stacked
 
36
37
38
39
40
41
 
 
 
 
42
43
44
 
36
37
38
 
 
 
39
40
41
42
43
44
45
@@ -36,9 +36,10 @@
    self.saved_stdout = sys.stdout   self.saved_stderr = sys.stderr - # Pipe stderr, stdout to self.write - sys.stdout = self - sys.stderr = self + if os.name == 'nt': + # Pipe stderr, stdout to self.write + sys.stdout = self + sys.stderr = self     # persistent app data   self._settings = settings.Settings('synch')