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

Unified Diff: patchconv/tests/copy_and_change.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/copy_and_change.txt
===================================================================
new file mode 100644
--- /dev/null
+++ b/patchconv/tests/copy_and_change.txt
@@ -0,0 +1,23 @@
+INPUT
+ Index: README.md
+ ===================================================================
+ copy from README.txt
+ copy to README.md
+ --- a/README.txt
+ +++ b/README.md
+ @@ -1,3 +1,3 @@
+ # Bla
+
+ -Bla bla bla.
+ +Foo bar baz.
+EXPECT
+ diff --git a/README.txt b/README.md
+ copy from README.txt
+ copy to README.md
+ --- a/README.txt
+ +++ b/README.md
+ @@ -1,3 +1,3 @@
+ # Bla
+
+ -Bla bla bla.
+ +Foo bar baz.
« no previous file with comments | « patchconv/tests/add_file.txt ('k') | patchconv/tests/copy_file.txt » ('j') | patchconv/tox.ini » ('J')

Powered by Google App Engine
This is Rietveld