DhruvPathak DhruvPathak - 5 months ago 34
Linux Question

SVN list directories without having the latest checkout?

The command

svn list
will give me list of all the sub directories in the present directory.
However,it is only restricted to directories which are present in current version.

eg. say repository url is :

and inside trunk, there are 3 directories


If I do
svn list
it will show me all the directories
1 2 3
Now somebody else does a commit in trunk, which adds another directory
inside trunk.
Is there a way to check existence of that directory without first taking an update ? As
svn list
only provides information till latest
svn update
, not about changes that happened after that .

Background : I want to retreive the latest directory present inside trunk ( largest number means latest, 4 in this case), and want to checkout only that part of the trunk codebase, not full trunk .

 svn ls http://www.example.com/svncode/mainproduct/trunk