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: Make flake8 check a bit more general in tox.ini Created May 17, 2016, 1:28 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
« no previous file with comments | « patchconv/tests/add_empty_file.txt ('k') | patchconv/tests/copy_and_change.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « patchconv/tests/add_empty_file.txt ('k') | patchconv/tests/copy_and_change.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld