diff mercurial/mdiff.py @ 23088:fe5f044b753d stable

changelog: use headrevsfiltered 2b5940f64750 introduced use of the new filtering headrevs C implementation. It caught TypeError to detect when to fall back to the implementation that was compatible with old extensions. That method was however not reliable. Instead, use the new headrevsfiltered function when passing a filter. It will reliably fail with AttributeError when an old extension that predates headrevsfiltered is used.
author Mads Kiilerich <madski@unity3d.com>
date Sun, 26 Oct 2014 12:14:12 +0100
parents 3fbef7ac26f0
children b89856abf4e2
line wrap: on
line diff