Mercurial > hg
comparison hgext/purge.py @ 41362:57c462db87fd
localrepo: use context manager for transaction in commit()
A side-effect is that the transaction is released a little earlier, so
the "commit message saved in ..." messages now comes after the
"rollback completed" message. That seems slightly better to me.
Differential Revision: https://phab.mercurial-scm.org/D5622
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 16 Jan 2019 17:33:47 -0800 |
parents | c303d65d2e34 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
41361:092c5d05ba01 | 41362:57c462db87fd |
---|