移动历史目录 [英] Moving Directories with History

查看:25
本文介绍了移动历史目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个像这样的 SVN 结构:

I have a SVN structure like this:

/Projects
    /Project1
    /Project2
/someFolder
    /Project3
    /Project4

我想将所有项目移动到/Projects 文件夹中,这意味着我想将项目 3 和 4 从/someFolder 移动到/projects 文件夹中.

I would like to move all the projects into the /Projects folder, which means I want to move Projects 3 and 4 from /someFolder into the /projects folder.

警告:我想保留完整的历史记录.我假设每个客户都必须再次检查新位置的内容,这很好,但我仍然想知道最简单的方法是在不完全破坏历史记录的情况下移动目录是什么?

The caveat: I'd like to keep the full history. I assume that every client would have to check out the stuff from the new location again, which is fine, but I still wonder what the simplest approach is to move directories without completely destroying the history?

Subversion 1.5 如果这很重要.

Subversion 1.5 if that matters.

推荐答案

svn help rename

在 subversion 中移动/重命名保持历史完整.

Moving/renaming in subversion keeps history intact.

这篇关于移动历史目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆