How to get sparse checkout path details in SVN

Viewed 30

I am a beginner and not aware of much about SVN, Initially, I created an empty workspace via svn sparse checkout,

svn co --depth empty project_url/trunk my_local_work

and pulled the folder where I need to change my code

svn up --parents Parent/Children1/Children2/Children3

Now, I have N number of workspace which is pulled with a different folder. How I can know which folder I have pulled using svn commands?

Is there any command which should return the sparse checkout paths?

Example: In the above, I have sparse checkout Parent/Children1/Children2/Children3 when running some commands it should return this path as output

Parent/Children1/Children2/Children3

How I can achieve this? Please let me know if need more info

In git, we enable sparse checkout git config core.sparsecheckout true and we add the path which we need to pull from git master

echo Parent/Children1/Children2/Children3 >> .git/info/sparse-checkout

In this case we can know the sparse checkout location via .git/info/sparse-checkout file

When we do

:~ cat .git/info/sparse-checkout

Parent/Children1/Children2/Children3

It returns all the path details, similar I am looking for in SVN

1 Answers
Related