Show More
@@ -160,7 +160,7 b' def makefileobj(repo, pat, node=None, to' | |||
|
160 | 160 | writable = mode not in ('r', 'rb') |
|
161 | 161 | |
|
162 | 162 | if not pat or pat == '-': |
|
163 |
fp = writable and |
|
|
163 | fp = writable and repo.ui.fout or repo.ui.fin | |
|
164 | 164 | return os.fdopen(os.dup(fp.fileno()), mode) |
|
165 | 165 | if hasattr(pat, 'write') and writable: |
|
166 | 166 | return pat |
General Comments 0
You need to be logged in to leave comments.
Login now