将 SVN 迁移到 Android Studio [英] Migrating SVN to Android Studio

查看:33
本文介绍了将 SVN 迁移到 Android Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将我的 Android 项目从 Eclipse 迁移到 Android Studio.我使用 Subversion 并且想知道如何将我的 SVN 迁移到 Android Studio 中使用的新文件结构而不会丢失我的历史记录.

I'm migrating my Android project from Eclipse to Android Studio. I use Subversion and am wondering how I can migrate my SVN to the new file structure used in Android Studio without losing my history.

感谢您的帮助!

推荐答案

我不知道这两种文件结构的区别.但它会以这种方式尝试:

I don't know the differences of both file structures. But it would try it this way:

  1. 检查您的项目(也许最好使用像 TortoiseSVN 这样的客户端)
  2. 构建新的文件结构(新文件夹)
  3. 提交
  4. 将文件从旧结构移至新结构
  5. 提交(如果只有移动操作,请检查提交对话框!)
  6. 删除不再需要的旧文件夹
  7. 提交

SVN 会识别这些移动操作.您将通过提交对话框中的操作查看它是否有效.如果有删除"/新建"操作出错,则应该只有移动"操作.

SVN will recognize these move operations. You will see if it works by the operations in the commit dialog. If there are "delete"/"new" actions something went wrong there should only be "move" actions.

这篇关于将 SVN 迁移到 Android Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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