完全更改 SVN 路径
我们在 http:/XX.XXX.XXX.XXX:1111/svn/AB/
处有一个 SVN - SVN 的前两个文件夹类似于 http:/XX.XXX。 XXX.XXX:1111/svn/AB/abc/filefolder/
问题是我们想要移动整个 svn 以摆脱 /abc/filefolder/
因为整个项目位于/abc/filefolder/
[很久以前创建,从来没有费心去改变](很愚蠢,是的,是的)
我们如何解决这个问题,这样我们就不会丢失日志等?我们不想导出并创建一个新的 svn,因为那样我们就会丢失所有日志文件。但是我们想“移动” svn 根目录,例如它变成:
From: http:/XX.XXX.XXX.XXX:1111/svn/AB/abc/filefolder/documents/
To: http:/XX.XXX.XXX.XXX:1111/svn/AB/documents/
有任何帮助吗? [ps - 是的,由于链接限制,必须删除 http://
]
We have an SVN at http:/XX.XXX.XXX.XXX:1111/svn/AB/
- and the first two folders of the SVN are like http:/XX.XXX.XXX.XXX:1111/svn/AB/abc/filefolder/
The problem is we want to move the entire svn to get rid of /abc/filefolder/
as the entire project sits under /abc/filefolder/
[created long ago and never bothered to change] (que stupid yes yes)
How would we could about fixing this so we dont loose logs etc? We dont want to have to export and create a new svn, since then we lose all our log files. But we want to "move" the svn root so for example it becomes:
From: http:/XX.XXX.XXX.XXX:1111/svn/AB/abc/filefolder/documents/
To: http:/XX.XXX.XXX.XXX:1111/svn/AB/documents/
Any help appreciated? [ps - yes had to remove http://
due to link restriction]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您只需将所需的文件夹移动到顶层,在存储库上工作,例如:
当然,事先备份您的存储库。
How about you just move the folders you want at the top level, working on the repository, for example:
Back up your repository beforehand, of course.