Show More
@@ -17,7 +17,6 from .node import ( | |||||
17 | nullrev, |
|
17 | nullrev, | |
18 | short, |
|
18 | short, | |
19 | ) |
|
19 | ) | |
20 | from .pycompat import open |
|
|||
21 |
|
20 | |||
22 | from . import ( |
|
21 | from . import ( | |
23 | error, |
|
22 | error, | |
@@ -87,7 +86,7 def writechunks(ui, chunks, filename, vf | |||||
87 | else: |
|
86 | else: | |
88 | # Increase default buffer size because default is usually |
|
87 | # Increase default buffer size because default is usually | |
89 | # small (4k is common on Linux). |
|
88 | # small (4k is common on Linux). | |
90 |
fh = open(filename, |
|
89 | fh = open(filename, "wb", 131072) | |
91 | else: |
|
90 | else: | |
92 | fd, filename = pycompat.mkstemp(prefix=b"hg-bundle-", suffix=b".hg") |
|
91 | fd, filename = pycompat.mkstemp(prefix=b"hg-bundle-", suffix=b".hg") | |
93 | fh = os.fdopen(fd, "wb") |
|
92 | fh = os.fdopen(fd, "wb") |
General Comments 0
You need to be logged in to leave comments.
Login now