移动本地 SVN 仓库
Move local SVN repository
我在 Windows 上使用 TortoiseSVN 7。我想将我的本地 SVN 存储库从 C:/repository
移动到 D:/repository
。我有一个位于 C:/workingcopy
的工作副本(包含许多子文件夹)。
我可以简单地通过剪切和粘贴将 C:/repository
文件夹移动到 D:/repository
位置吗?那么,右击C:/workingcopy
文件夹和selectTortoiseSVN > Relocate...
从file:///C:/repository
指向file:///D:/repository
就可以了吗?
以下是 Moving and Removing Repositories 的摘录(强调我的):
Subversion repository data is wholly contained within the repository
directory. As such, you can move a Subversion repository to some
other location on disk, rename a repository, copy a repository, or
delete a repository altogether using the tools provided by your
operating system for manipulating directories
[...]
Of course, there's often still more to be done when trying to cleanly
affect changes such as this. For example, you might need to update
your Subversion server configuration to point to the new location of a
relocated repository or to remove configuration bits for a now-deleted
repository. If you have automated processes that publish information
from or about your repositories, they may need to be updated. Hook
scripts might need to be reconfigured. Users may need to be notified. [...]
由于您没有服务器,简短的回答是 "yes, that's enough"。
我在 Windows 上使用 TortoiseSVN 7。我想将我的本地 SVN 存储库从 C:/repository
移动到 D:/repository
。我有一个位于 C:/workingcopy
的工作副本(包含许多子文件夹)。
我可以简单地通过剪切和粘贴将 C:/repository
文件夹移动到 D:/repository
位置吗?那么,右击C:/workingcopy
文件夹和selectTortoiseSVN > Relocate...
从file:///C:/repository
指向file:///D:/repository
就可以了吗?
以下是 Moving and Removing Repositories 的摘录(强调我的):
Subversion repository data is wholly contained within the repository directory. As such, you can move a Subversion repository to some other location on disk, rename a repository, copy a repository, or delete a repository altogether using the tools provided by your operating system for manipulating directories [...]
Of course, there's often still more to be done when trying to cleanly affect changes such as this. For example, you might need to update your Subversion server configuration to point to the new location of a relocated repository or to remove configuration bits for a now-deleted repository. If you have automated processes that publish information from or about your repositories, they may need to be updated. Hook scripts might need to be reconfigured. Users may need to be notified. [...]
由于您没有服务器,简短的回答是 "yes, that's enough"。