Show More
@@ -1166,6 +1166,8 b' def internalpatch(patchobj, ui, strip, c' | |||||
1166 | finally: |
|
1166 | finally: | |
1167 | if cwd: |
|
1167 | if cwd: | |
1168 | os.chdir(curdir) |
|
1168 | os.chdir(curdir) | |
|
1169 | if fp != patchobj: | |||
|
1170 | fp.close() | |||
1169 | if ret < 0: |
|
1171 | if ret < 0: | |
1170 | raise PatchError |
|
1172 | raise PatchError | |
1171 | return ret > 0 |
|
1173 | return ret > 0 |
General Comments 0
You need to be logged in to leave comments.
Login now