Show More
@@ -1949,6 +1949,8 b' class localrepository(repo.repository):' | |||||
1949 | ofp.write(chunk) |
|
1949 | ofp.write(chunk) | |
1950 | ofp.close() |
|
1950 | ofp.close() | |
1951 | elapsed = time.time() - start |
|
1951 | elapsed = time.time() - start | |
|
1952 | if elapsed <= 0: | |||
|
1953 | elapsed = 0.001 | |||
1952 | self.ui.status(_('transferred %s in %.1f seconds (%s/sec)\n') % |
|
1954 | self.ui.status(_('transferred %s in %.1f seconds (%s/sec)\n') % | |
1953 | (util.bytecount(total_bytes), elapsed, |
|
1955 | (util.bytecount(total_bytes), elapsed, | |
1954 | util.bytecount(total_bytes / elapsed))) |
|
1956 | util.bytecount(total_bytes / elapsed))) |
General Comments 0
You need to be logged in to leave comments.
Login now