How to create a Patch for Rietveld by git/patch/*?

2019-08-03 02:12发布

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

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

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

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

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

alt text http://files.getdropbox.com/u/175564/codepreview-patch.png

How can you make a patch which I can give for Rietveld?

1条回答
Explosion°爆炸
2楼-- · 2019-08-03 02:37

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.

查看更多
登录 后发表回答