[PATCH 1 of 4] lfs: improve the client message when the server signals an object error

Yuya Nishihara yuya at tcha.org
Sun Apr 1 01:13:22 UTC 2018


On Sat, 31 Mar 2018 18:28:24 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1519620242 18000
> #      Sun Feb 25 23:44:02 2018 -0500
> # Node ID 0cd7c41df75ac914d95f398105317afb53f7e5db
> # Parent  97ab6f2dc3c3b0d689e90b4872b3874e649ce4e6
> lfs: improve the client message when the server signals an object error

Queued 1, 2, and 4, thanks.

> +                msg = errors.get(code, 'status code %d' % code)
> +                raise LfsRemoteError(_(('LFS server error for "%s": %s'))

I've removed doubled parens in flight.


More information about the Mercurial-devel mailing list