AnkhSvn撤消/还原提交 [英] AnkhSvn undo/revert a commit

查看:90
本文介绍了AnkhSvn撤消/还原提交的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用AnkhSvn/VS 2010撤消/还原已提交的更改. (我很清楚您不能在Subversion存储库中删除"内容.)

How do I undo/revert a change I've commited, with AnkhSvn/VS 2010. (I'm well aware you can't "delete" stuff in the subversion repository).

问题很简单, 您正在使用HEAD(例如rev 100).您发现有些东西坏了.您查看历史记录,并找出第93版可能是问题所在.您想要还原在修订版93中所做的更改,测试并提交这些还原的更改.

The issue is simple, You're working on HEAD(e.g. rev 100). You figure out something is broken. You view the history, and figure out rev 93 might be the issue. You want to revert the change done in rev 93, test, and commit those reverted changes.

虽然我知道如何使用命令行来撤消"此操作,但是如何在Visual Studio中使用AnkSvn做到这一点呢?

While I know how to resort to the command line to "undo" this, How do you do this with AnkSvn from within Visual Studio ?

推荐答案

转到历史记录查看器(右键单击解决方案->查看解决方案历史记录),在此处右键单击一个修订版(或选择的修订版),然后使用上下文菜单中的项目撤消更改.

Go to the history viewer (Right-click solution -> View Solution history), here right-click on a revision (or a selection of revisions), and use the items in the context menu to undo your changes.

这篇关于AnkhSvn撤消/还原提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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