comparison mercurial/branchmap.py @ 42269:39b63f9d7464

localrepo: don't use defaults arguments that will never be overridden The commithook() callback will be called when the lock is released. lock.release() calls the callback without arguments, so it was quite confusing to me that this function declared extra arguments. We can just close on the variables in the outer scope instead. Differential Revision: https://phab.mercurial-scm.org/D6336
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 03 May 2019 08:37:10 -0700
parents 9893d7aa7420
children c7d236b55a3e
comparison
equal deleted inserted replaced
42268:6770df6e4365 42269:39b63f9d7464