gleasonomicon
gleasonomicon

Reputation: 1089

VisualSVN get specific file

I'm new to using VisualSVN, and I wanted to know if you can get a specific file that has been added to source control in an upper level directory without have to update the entire directory (through windows explorer). For instance, if a co-worker adds a config file to the root directory of a solution, how do I get that specific file for my machine without getting latest/updating the entire solution folder?

Upvotes: 2

Views: 135

Answers (1)

sergey.raevskiy
sergey.raevskiy

Reputation: 56

You can do svn export using direct link to file with (e.g. svn export http://svn.example.com/svn/repo1/config.xml). This operation could be done using Tortoise SVN from Windows Explorer context menu. But keep in mind, that svn export is just a way to download file, wtihout any version control on it.

You also can do a sparse checkout (see this answer).

Upvotes: 1

Related Questions