Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change .svn folder to another location in Tortoise SVN

Is there a way to change the .svn folder to a different path, outside of the project's folder?

This is because I don't want to include this folder in my local and cloud backups.

Today my project's folder structure is like that:

  • Project folder: C:\myproject
  • SVN folder: C:\myproject\.svn

What I want is something like this:

  • Project folder: C:\myproject
  • SVN folder: C:\otherfolder\.svn
like image 479
delphirules Avatar asked Oct 18 '25 21:10

delphirules


1 Answers

The short answer: Every SVN working copy of a repository has an .svn directory in the root directory of the working copy.

The .svn directory indicates that it is an SVN working copy. Without this directory you just have an export of your SVN repository as all SVN tools require the .svn directory to work.

like image 79
Robert Avatar answered Oct 22 '25 03:10

Robert