[PATCH] exchange: use context manager for bundle1 unbundling

Sean Farley sean at farley.io
Fri Jun 16 06:04:32 UTC 2017


Martin von Zweigbergk via Mercurial-devel
<mercurial-devel at mercurial-scm.org> writes:

> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz at google.com>
> # Date 1497592640 25200
> #      Thu Jun 15 22:57:20 2017 -0700
> # Node ID 31b11625ed4218a1ab33ffacd1b6d0fe11996f55
> # Parent  2d327b17f319e8e3305c33734d0202978d57f0f9
> exchange: use context manager for bundle1 unbundling
>
> The lazy locking is not used for bundle1, so using a regular context
> manager is clearer.

Nice, queued. Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170615/3c68fc61/attachment.asc>


More information about the Mercurial-devel mailing list