FWIW, I worked around this by removing the "thin-pack" capability from the client, e.g.
client, path = get_transport_and_path(args.pop(0)) client._fetch_capabilities.remove('thin-pack')
Clearly this isn't a fix for whatever's going wrong receiving a thin pack, but it seems to be an effective workaround.
FWIW, I worked around this by removing the "thin-pack" capability from the client, e.g.
client, path = get_transport_ and_path( args.pop( 0)) _fetch_ capabilities. remove( 'thin-pack' )
client.
Clearly this isn't a fix for whatever's going wrong receiving a thin pack, but it seems to be an effective workaround.