eclipse 颠覆性:追溯更改 SVN 提交消息?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8623321/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Subversive: Change SVN commit message retroactively?
提问by FoxyBOA
Actually I need to modify SVN commit message. A lot of related staff exists how to do it (e.g. Change SVN commit message retroactively?).
其实我需要修改SVN提交消息。许多相关人员存在如何做到这一点(例如,追溯更改 SVN 提交消息?)。
My question is, could I do it from Eclipse's subversive plugin?
我的问题是,我可以从 Eclipse 的颠覆性插件中做到这一点吗?
回答by mliebelt
It is not easy to find, but possible. This recipe is working for Eclipse Indigo (3.6) and Subversive 0.7.9I20110321-1700. Do the following steps:
这不容易找到,但可能。这个秘籍适用于 Eclipse Indigo( 3.6) 和 Subversive 0.7.9I20110321-1700。执行以下步骤:
- Open for an item where you want to change a log message the history:
Team > Show History. This opens a new view namedHistory. - In that view, you see the log messages of the selected item. Select one of the messages and choose from the context menu
Show revision properties. - Select
svn:logand then from the context menuEdit.... This opens a new dialog where you can change the log message (if allowed on the server).
- 打开要更改日志消息的项目历史记录:
Team > Show History。这将打开一个名为 的新视图History。 - 在该视图中,您会看到所选项目的日志消息。选择其中一条消息并从上下文菜单中进行选择
Show revision properties。 - 选择
svn:log,然后从上下文菜单中选择Edit...。这将打开一个新对话框,您可以在其中更改日志消息(如果服务器上允许)。
The best answer I found at Stackoverflow to the base question was this onethat states clearly that it is not the default behavior of a Subversion server to allow that, so normally, it won't be possible without the help of an administrator.
我在 Stackoverflow 上找到的对基本问题的最佳答案是这个问题明确指出,允许这样做不是 Subversion 服务器的默认行为,因此通常情况下,如果没有管理员的帮助,这是不可能的。
回答by diadyne
As gouessej commented, for quick reference, the process for me was:
正如 gouessej 评论的那样,为了快速参考,我的过程是:
Team > Show History- Right click on an element in the list and select
Set Commit Properties
Team > Show History- 右键单击列表中的元素并选择
Set Commit Properties

