Mercurial > hg
comparison mercurial/similar.py @ 28447:4eb5496c2bd4
registrar: add filesetpredicate to mark a function as fileset predicate
filesetpredicate is used to replace fileset.predicate in subsequent
patch.
This patch also adds loadpredicate() to fileset, because this
combination helps to figure out how the name of "status caller" (or
"existing caller") predicate is put into _statuscallers (or
_existingcallers).
Listing up loadpredicate() in dispatch.extraloaders causes implicit
loading fileset predicate functions at loading (3rd party) extension.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Fri, 11 Mar 2016 04:14:54 +0900 |
parents | a56c47ed3885 |
children | 0d6b3630b9a3 |
comparison
equal
deleted
inserted
replaced
28446:08bd09921102 | 28447:4eb5496c2bd4 |
---|