Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: patchconv/tests/add_file.txt

Issue 29341347: Noissue - Add a script for converting Rietveld patches to Git format (Closed)
Patch Set: Address review comments Created May 12, 2016, 11:21 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: patchconv/tests/add_file.txt
===================================================================
new file mode 100644
--- /dev/null
+++ b/patchconv/tests/add_file.txt
@@ -0,0 +1,15 @@
+INPUT
+ Index: foo.py
+ ===================================================================
+ new file mode 100644
+ --- /dev/null
+ +++ b/bla.py
+ @@ -0,0 +1,1 @@
+ +# A comment.
+EXPECT
+ diff --git a/foo.py b/foo.py
+ new file mode 100644
+ --- /dev/null
+ +++ b/bla.py
+ @@ -0,0 +1,1 @@
+ +# A comment.

Powered by Google App Engine
This is Rietveld