如何将svn文件夹向上移动一级 [英] How to move svn folder one level up
问题描述
我需要将 svn 文件夹移到上一级并保留所有历史记录
I need to move svn folder to one level up and keep all history
来自 https://myserver.com/svn/Project/trunk/
的所有文件和目录进入https://myserver/svn/Project/
All files and directories from https://myserver.com/svn/Project/trunk/
into https://myserver/svn/Project/
我使用命令:
svn move https://myserver.com/svn/Project/trunk/ https://myserver/svn/Project/
但它说:
svn:无法移动路径 'https://myserver.com/svn/Project/trunk/'融入自己
svn: Cannot move path 'https://myserver.com/svn/Project/trunk/' into itself
谁知道我该如何解决这个问题?谢谢!
Who knows how can I resolve that problem? Thanks!
推荐答案
如果您愿意使用 TortoiseSVN,那么您只需使用存储库浏览器移动文件夹即可.这就是我通常移动文件夹的方式,非常简单且轻松.
If you are willing to use TortoiseSVN then you can simply move the folder with the repository browser. That is how I usually move folders around, very simple and painless.
这篇关于如何将svn文件夹向上移动一级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!