有没有办法将 XCode 快照导入到新的 SVN 存储库中?
您好,
我已经在 XCode 中工作了一段时间。我一直在使用 xcode 快照作为基本的版本控制。然而,我决定是时候升级到真正的 SCM 系统了,所以我计划创建一个存储库并将我的项目导入 SVN。
我的问题是:是否有办法将我的快照历史记录导入到 SVN 中,以便我在我正在创建的新 SVN 项目存储库中拥有先前(快照)更改的完整历史记录?
任何信息将不胜感激。
谢谢。
Greetings,
I have been working a project in XCode for a while. I have been using xcode snapshots as a rudimentary version control. However, I have decided that it's about time I moved up into a real SCM system, so I plan to create a repository and import my project into SVN.
My question is: Is there anyway to import my snapshots history into SVN so I have a full history of my previous (snapshot) changes in the new SVN project repository I am creating?
Any info would be greatly appreciated.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想通过说
快照
,您的意思是您将整个项目树存储在不同的文件夹中或创建了某种存档。在这种情况下,您需要执行以下步骤:还有诸如
changeset 或
diff
或patch
。如果您存储差异而不是快照,工作流程会略有不同。您需要将相应的补丁(差异)应用到工作副本,而不是仅仅将快照复制到工作副本(在步骤 4 中)。I suppose that by saying
snapshot
you mean that you stored whole project tree in different folder or created some kind of archive. In this case here are steps you'll need to follow:svn admin
command)There is also such notion as
changeset
ordiff
orpatch
. In the case when you stored diffs instead of snapshots, workflow will be a little bit different. Instead of just copying snapshot to working copy (on step 4) you will need to apply corresponding patch (diff) to working copy.这个答案对你来说来得太晚了,但其他发现这个问题的人我发现它很有用。
我写了一篇关于这个主题的文章: http ://cinnamonthoughts.org/2011/03/14/moving-xcode-3-snapshots-to-subversion/
This answer comes too late for you, but other finding this question my find it useful.
I've written a post about exactly this topic: http://cinnamonthoughts.org/2011/03/14/moving-xcode-3-snapshots-to-subversion/