diff mercurial/ancestor.py @ 38611:0ba4cf3f088f

match: add prefixdirmatcher to adapt subrepo matcher back This serves as an inverse function to the subdirmatcher, and will be used to wrap a fileset matcher of subrepositories. One of the root/prefix paths could be deduced from the matcher attributes to be wrapped, but we don't since the callers of this class know the root/prefix paths and can simply pass them in.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 09 Jun 2018 22:04:07 +0900
parents f8b46245b26a
children e7aa113b14f7
line wrap: on
line diff