Mercurial > hg
diff mercurial/httpconnection.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 | 5f9d436cd3b7 |
children | c53f0ead5781 |