Mercurial > hg
comparison mercurial/hgweb/protocol.py @ 29394:6d96658a22b0
atomictempfile: add context manager support
Close the file (moving it in place) on clean context exit, discard when there
has been an exception.
author | Martijn Pieters <mjpieters@fb.com> |
---|---|
date | Thu, 23 Jun 2016 18:21:25 +0100 |
parents | 032c4c2f802a |
children | 5e2365698d44 |
comparison
equal
deleted
inserted
replaced
29393:50269a4dce61 | 29394:6d96658a22b0 |
---|