fege
fege

Reputation: 567

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 ?

Upvotes: 1

Views: 1002

Answers (1)

fege
fege

Reputation: 567

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>

Upvotes: 2

Related Questions