本文介绍了如何通过git/patch/*为Rietveld创建补丁?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个文件,其中添加了打印声明,例如

I have a file where I added a print -statement such that

 print "hello"         // this is a change
 ----- file -------

我的Git提交树中有更改.

I have the change in my Git's commit tree.

我希望有一个补丁可以用于 Rietveld .

I would like to have a patch which I can use for Rietveld.

Data拥有更改的文件,而在Base拥有不变的文件时,我得到以下信息.

I get the following when I have the changed file at Data, while the unchanged file at Base.

替代文本http://files.getdropbox.com/u/175564/codepreview-patch.png

您如何制作我可以给Rietveld制作的补丁?

推荐答案

在当前状态下,Rietveld r530在线补丁分析器仅了解基于SVN的补丁,而不能理解Mercurial或Git格式.这就是为什么建议建议使用upload.py实用工具发送补丁的原因.

At the current state Rietveld r530 online patch parser understands only SVN based patches - no Mercurial or Git format. That's why it is advised to use upload.py utility for sending patches.

这篇关于如何通过git/patch/*为Rietveld创建补丁?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 16:21