Show More
@@ -206,3 +206,6 class bundlerepository(localrepo.localre | |||||
206 | else: |
|
206 | else: | |
207 | return filelog.filelog(self.opener, f) |
|
207 | return filelog.filelog(self.opener, f) | |
208 |
|
208 | |||
|
209 | def close(self): | |||
|
210 | """Close assigned bundle file immediately.""" | |||
|
211 | self.bundlefile.close() |
@@ -1811,7 +1811,7 def incoming(ui, repo, source="default", | |||||
1811 | ui.write("\n") |
|
1811 | ui.write("\n") | |
1812 |
|
1812 | |||
1813 | if cleanup: |
|
1813 | if cleanup: | |
1814 | os.close(fd) |
|
1814 | other.close() # explicit close for unlink | |
1815 | os.unlink(cleanup) |
|
1815 | os.unlink(cleanup) | |
1816 |
|
1816 | |||
1817 | def init(ui, dest="."): |
|
1817 | def init(ui, dest="."): |
General Comments 0
You need to be logged in to leave comments.
Login now