> ../../arcanist/bin/arc revise
Amending commit message to reflect revision D552: Diff to test arc revise.
--- revise/indented_file
+++ Patched
@@ -1,5 +1,7 @@
def main():
- print "hello world!"
+ def sub_function():
+ print "hello world"
+ sub_function()
pass
main()
--- revise/indented_file_2
+++ Patched
@@ -1,4 +1,7 @@
def main():
+ """
+ prints hello world
+ """
print "hello world!"
pass
--- revise/fruits
+++ Patched
@@ -2,5 +2,5 @@
Orange
Banana
Pear
-Strawberry
+Strawberries
Cherry
Apply patches? [Y/n]
pass