comparison contrib/synthrepo.py @ 24047:731fa8e3e580

bundle2: now that we have a seek implementation, use it Replace bare part.read() calls with part.seek(0, 2) since the return value is being ignored. As this doesn't necessarily require building a string that contains the rest of the part, the potential exists to reduce the memory footprint of these operations.
author Eric Sumner <ericsumner@fb.com>
date Thu, 05 Feb 2015 10:56:05 -0800
parents a5dbec255f14
children 6ddc86eedc3b
comparison
equal deleted inserted replaced
24046:6e1d9f9932a9 24047:731fa8e3e580