Show More
@@ -230,7 +230,7 b' def make_filename(repo, pat, node,' | |||||
230 | def make_file(repo, pat, node=None, |
|
230 | def make_file(repo, pat, node=None, | |
231 | total=None, seqno=None, revwidth=None, mode='wb', pathname=None): |
|
231 | total=None, seqno=None, revwidth=None, mode='wb', pathname=None): | |
232 |
|
232 | |||
233 |
writable = |
|
233 | writable = mode not in ('r', 'rb') | |
234 |
|
234 | |||
235 | if not pat or pat == '-': |
|
235 | if not pat or pat == '-': | |
236 | fp = writable and sys.stdout or sys.stdin |
|
236 | fp = writable and sys.stdout or sys.stdin |
General Comments 0
You need to be logged in to leave comments.
Login now