Show More
@@ -397,8 +397,13 b' def import_(ui, repo, patch1, *patches, ' | |||
|
397 | 397 | if not quiet: |
|
398 | 398 | print l |
|
399 | 399 | if l[:14] == 'patching file ': |
|
400 |
|
|
|
401 | f.close() | |
|
400 | pf = l[14:] | |
|
401 | if pf not in files: | |
|
402 | files.append(pf) | |
|
403 | patcherr = f.close() | |
|
404 | if patcherr: | |
|
405 | sys.stderr.write("patch failed") | |
|
406 | sys.exit(1) | |
|
402 | 407 | |
|
403 | 408 | if len(files) > 0: |
|
404 | 409 | addremove(ui, repo, *files) |
General Comments 0
You need to be logged in to leave comments.
Login now