Search code examples
manifestrepo

repo tool manifest checkout a single file


I am using manifest with repo. I would like to take one part of the external repository, a sub folder or a file, is it possible?

assuming that I have

A/a_1/a_2/a_file.x

with

<project name="A" ..... />

I can take A, is it possible to take a_2 and/or a_file.x ?


Solution

  • I tried copyfile but at the end I decided to user linkfile

    <project name="A">
        <linkfile src="a_1/a_2/a_file.x"
                  dest="B/a_file.x" />
    </project>