comparison mercurial/revlog.py @ 28243:45313f5a3a8c

blackbox: avoid creating multiple file handles for a single log There are multiple ui objects in Mercurial that can relate to a repository, before this change, each one would have its own file pointer, which results in unfortunate logging behavior. Also, any log rotation results would be bad because only the active blackboxui object's file pointer would be refreshed. Note that this does not prevent two long running hg commands for the same repository from causing problems.
author timeless <timeless@mozdev.org>
date Wed, 03 Feb 2016 15:41:31 +0000
parents e7222d326ea2
children a9e010cd66e1
comparison
equal deleted inserted replaced
28242:e8ad56d95fbb 28243:45313f5a3a8c