Mercurial > hg
comparison contrib/buildrpm @ 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 | 56c64c91b429 |
children | f643b6863382 |
comparison
equal
deleted
inserted
replaced
26035:86598f4fe1cf | 26036:db677b70a298 |
---|