[PATCH] drawdag: inline transaction() function

Sean Farley sean at farley.io
Sat Jul 1 19:35:26 EDT 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 1498889709 25200
> #      Fri Jun 30 23:15:09 2017 -0700
> # Node ID 07d2ba135eae10b08603230039c02feb0b1e5039
> # Parent  6d678ab1b10d0fddc73003d21aa3c7ec43194e2e
> drawdag: inline transaction() function
>
> I suspect Jun wrote the method before he learnt that Python 2.7 allows
> multiple context managers in a single with-clause.

Looks good to me, queued!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170701/0c75b203/attachment.sig>


More information about the Mercurial-devel mailing list