Say, I have checkout a empty branch
foo/
and, I want to simply checkout only a particular subdirectory somewhat deep inside, say
foo/1/2/3/4
I am only interested in checkout the full subdirectory 4
, nothing else.
I tried
svn up foo/1/2/3/4
but it didn't work, gives error
Can't create directory 'foo/1/2/3/4': No such file or directory
How do I make it work if the subdirectory 1
is locally non-existent to begin with? Do we have to do separate svn up
for each subdirectory one by one?
Note that:
svn up foo/1
works!