Svn 恢复所有属性更改 [英] Svn revert all properties changes

查看:34
本文介绍了Svn 恢复所有属性更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 svn 工作副本,我试图将最近的几个修订版反向合并到其中.由于我改变了主意,我在它完成之前取消了合并.现在我的工作副本有几千个更改",从更新到大多数文件的祖先相关属性.我有大约 10 个混合了真实代码更改的文件,我不想手动将它们分开.

I have a svn working copy which I attempted to reverse merge a couple of recent revisions into. I cancelled the merge before it completed as I changed my mind. Now my working copy has a couple of thousand "changes" from updates to the ancestry related properties on most of the files. I have about 10 files with real code changes mixed in which I don't want to have to seperate out by hand.

有没有办法在不影响内容更改的情况下还原所有属性更改?

Is there a way for me to revert all of the property changes without affecting the content changes?

推荐答案

事实证明 Tortoise SVN 可以很好地做到这一点.在提交对话框中,您可以按文本状态"或属性状态"对已修改"文件进行排序.我只是按文本状态排序,然后还原所有具有正常"文本状态"的修改过的"文件.

Turns out that Tortoise SVN can do this really nicely. In the commit dialog you can sort the "modified" files by "text status" or "properties status". I simply sorted by text status and then reverted all the "modified" files which had "normal" "text status".

这篇关于Svn 恢复所有属性更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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