Xcode 4 的源代码管理中的“恢复"选项在哪里? [英] Where is the 'Revert' option in Xcode 4's Source Control?

查看:34
本文介绍了Xcode 4 的源代码管理中的“恢复"选项在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Xcode 4 中使用 SVN 作为我的源代码管理;但看不到任何恢复到旧版本的选项?是恢复"还是更新到修订版"命令?更新"选项似乎总是更新到 HEAD.

I'm using SVN in Xcode 4 as my source control; but can't see any option to revert to an older revision? Either a 'revert' or an 'update to revision' command? The 'Update' option always seems to update to the HEAD.

当然 - 我可以在命令行上执行此操作,但不敢相信在 Xcode 中无法执行此操作...

Of course - I can do this on the command-line, but can't believe there's no way to do it within Xcode...

有人知道它藏在哪里吗?还是真的没有这样的选择?

Does anyone know where it's hidden? Or is there really no such option?

推荐答案

不幸的是,4.0 中的 SCM 功能相当有限.您可以提交、切换分支、分支/合并、比较以前的版本、更新到 HEAD,但您无法还原.

Unfortunately the SCM functionality in 4.0 is fairly limited. You can commit, switch branches, branch/merge, diff previous versions, update to HEAD, but you can't revert.

我们都希望这会在连续更新中变得更好,但这似乎是一个相当愚蠢的遗漏.类似 Time-Machine 的 diff 版本选择器似乎是放置 UI 的完美位置,所以我希望它在最终得到支持时出现在那里.

We all expect this to get better in successive updates but it does seem like a rather silly omission. The Time-Machine-like diff version picker seems the perfect place to put the UI, so I'd expect it to appear there when it's finally supported.

这篇关于Xcode 4 的源代码管理中的“恢复"选项在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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