Mercurial > hg
diff contrib/dockerlib.sh @ 26036:db677b70a298
convert: implements targetfilebelongstosource for filemap source
This is an implementation of the new targetfilebelongstosource() function for
the filemapper. It simply checks if the given file name is prefixed by any of
the rename destinations.
It is not a perfect implementation since it doesn't account for the filemap
specifying includes or excludes, but that makes the problem much harder, and
this implementation should suffice for most cases.
author | Durham Goode <durham@fb.com> |
---|---|
date | Sat, 15 Aug 2015 13:46:30 -0700 |
parents | 33055069e465 |
children | 271a802071b7 |