Show More
@@ -499,5 +499,5 b' else:' | |||||
499 | orig(m.group(2), **opts) |
|
499 | orig(m.group(2), **opts) | |
500 | m = re.match(ansire, m.group(3)) |
|
500 | m = re.match(ansire, m.group(3)) | |
501 | finally: |
|
501 | finally: | |
502 | # Explicity reset original attributes |
|
502 | # Explicitly reset original attributes | |
503 | _kernel32.SetConsoleTextAttribute(stdout, origattr) |
|
503 | _kernel32.SetConsoleTextAttribute(stdout, origattr) |
@@ -888,7 +888,7 b' class svn_source(converter_source):' | |||||
888 | info = svn.ra.get_file(self.ra, file, revnum, io) |
|
888 | info = svn.ra.get_file(self.ra, file, revnum, io) | |
889 | data = io.getvalue() |
|
889 | data = io.getvalue() | |
890 | # ra.get_files() seems to keep a reference on the input buffer |
|
890 | # ra.get_files() seems to keep a reference on the input buffer | |
891 |
# preventing collection. Release it explicit |
|
891 | # preventing collection. Release it explicitly. | |
892 | io.close() |
|
892 | io.close() | |
893 | if isinstance(info, list): |
|
893 | if isinstance(info, list): | |
894 | info = info[-1] |
|
894 | info = info[-1] |
@@ -2538,7 +2538,7 b' class localrepository(object):' | |||||
2538 | # uncompressed only if compatible. |
|
2538 | # uncompressed only if compatible. | |
2539 |
|
2539 | |||
2540 | if not stream: |
|
2540 | if not stream: | |
2541 |
# if the server explicit |
|
2541 | # if the server explicitly prefer to stream (for fast LANs) | |
2542 | stream = remote.capable('stream-preferred') |
|
2542 | stream = remote.capable('stream-preferred') | |
2543 |
|
2543 | |||
2544 | if stream and not heads: |
|
2544 | if stream and not heads: |
General Comments 0
You need to be logged in to leave comments.
Login now