gpt4 book ai didi

svn - 移动本地 SVN 存储库

转载 作者:行者123 更新时间:2023-12-04 17:33:30 25 4
gpt4 key购买 nike

我在 Windows 7 上使用 TortoiseSVN。我想从 C:/repository 移动我的本地 SVN 存储库至 D:/repository .我有一个工作副本(包含许多子文件夹)位于 C:/workingcopy .

我可以简单地移动C:/repository吗?文件夹到 D:/repository通过剪切和粘贴定位?那么,右击C:/workingcopy就够了吗?文件夹并选择 TortoiseSVN > 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. [...]



由于您没有服务器,简短的回答是“是的,这就够了”。

关于svn - 移动本地 SVN 存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34003549/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com