support merge of folder into a single target repo folder