开发者

Rename local folder with svn working copy without clean checkout

Problem: If I rename/move folder with Sub开发者_如何转开发version working copy to another location in file system, svn will complain that it "is not a working copy" anymore. One has to do clean checkout to fix that.

Reason: We have some projects with about 1GB after svn export each + branches. It takes too much time to do clean checkout even over LAN (ssh), let alone WAN. Another issue is that, as we use SmartSVN for Windows, it will also have to rebuild chache which also take a lot of time. And another thing it will take hours to recompile it for every target we support.

Question: Is it possible to rename local folder without clean checkout?


It sounds like you're asking how to move a working copy on your file system (like changing-working-folder-location), while retaining the SmartSVN-specific functionality like the cache and the project views.

SmartSVN allows you to do this to any project with the Project > Edit Working Copy menu option, as described on the SmartSVN projects documentation page (relevant statement below):

If the location of a working copy has changed, you may use Edit Working Copy to point to the new location.

I tested it with a working copy checked out and managed by SmartSVN 6.6:

  1. Rename local working copy directory.

Rename local folder with svn working copy without clean checkout

  1. Select Project > Edit Working Copy. This should bring up a file browser showing the updated directory tree.

Rename local folder with svn working copy without clean checkout

  1. Highlight the new location of the working copy and hit Select.

Rename local folder with svn working copy without clean checkout

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜