Rename the local folder with the working copy of svn without cleaning

Problem: if I rename / move the Subversion working copy folder to another location on the file system, svn will complain that it is no longer a working copy. You need to do a clean check to fix this.

Reason: We have projects with a volume of about 1 GB after exporting svn every + branches. It takes too much time to perform a clean check even on a local area network (ssh), not to mention the WAN. Another problem is that since we use SmartSVN for Windows, it will also have to rebuild the chache, which also takes a lot of time. And one more thing, it will take several hours to recompile it for every goal that we support.

Question: Is it possible to rename a local folder without cleaning?

+4
source share
1 answer

It looks like you are asking how to move a working copy on your file system (e.g. changing-working-folder-location ) while maintaining SmartSVN features such as cache and project views.

SmartSVN allows you to do this in any project using the Project> Edit Working Copy menu, as described on the SmartSVN page. (corresponding expression below):

If the location of the working copy has changed, you can use the "Edit working copy" to indicate the new location.

I tested it with a verified working copy and managed SmartSVN 6.6:

  • Rename the local working copy directory.

rename trunk to newdirectoryname

  1. Choose Project> Edit Working Copy. This should trigger a file browser showing the updated directory tree.

use Edit Working Copy option in trunk Project menu

  1. Highlight the new working copy location and press Select.

select newdirectoryname in file browser

+2
source

All Articles