Show More
@@ -93,7 +93,9 b' def writechunks(ui, chunks, filename, vf' | |||||
93 | if vfs: |
|
93 | if vfs: | |
94 | fh = vfs.open(filename, "wb") |
|
94 | fh = vfs.open(filename, "wb") | |
95 | else: |
|
95 | else: | |
96 | fh = open(filename, "wb") |
|
96 | # Increase default buffer size because default is usually | |
|
97 | # small (4k is common on Linux). | |||
|
98 | fh = open(filename, "wb", 131072) | |||
97 | else: |
|
99 | else: | |
98 | fd, filename = tempfile.mkstemp(prefix="hg-bundle-", suffix=".hg") |
|
100 | fd, filename = tempfile.mkstemp(prefix="hg-bundle-", suffix=".hg") | |
99 | fh = os.fdopen(fd, "wb") |
|
101 | fh = os.fdopen(fd, "wb") |
General Comments 0
You need to be logged in to leave comments.
Login now