localrepo: use context manager for locks in commit()
ClosedPublic

Authored by martinvonz on Jan 17 2019, 12:28 AM.