diff mercurial/revlog.py @ 43202:8864aa96f1f6

localrepo: fix variable binding in handling of old filters The lambda was referencing oldfn in outer scope without binding the current value. If oldfn function were reassigned before use, wrong filters could be used. Fixed by having oldfn as named parameter default value of the lambda.
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 13 Oct 2019 02:05:19 +0200
parents 3de4d13f22be
children ec7ba79bf3db
line wrap: on
line diff