@@ -82,20 +82,21 @@ each diff in the patch:
82
82
old_version = ' 2013-01-05 16:56:19.000000000 -0600' ,
83
83
new_path = ' tzu' ,
84
84
new_version = ' 2013-01-05 16:56:35.000000000 -0600' ),
85
- changes = [Change(old = 1 , new = None , hunk = 1 , line = ' The Way that can be told of is not the eternal Way;' ),
86
- Change(old = 2 , new = None , hunk = 1 , line = ' The name that can be named is not the eternal name.' ),
87
- Change(old = 3 , new = 1 , hunk = 1 , line = ' The Nameless is the origin of Heaven and Earth;' ),
88
- Change(old = 4 , new = None , hunk = 1 , line = ' The Named is the mother of all things.' ),
89
- Change(old = None , new = 2 , hunk = 1 , line = ' The named is the mother of all things.' ),
90
- Change(old = None , new = 3 , hunk = 1 , line = ' ' ), Change(old = 5 , new = 4 , hunk = 1 , line = ' Therefore let there always be non-being,' ),
91
- Change(old = 6 , new = 5 , hunk = 1 , line = ' so we may see their subtlety,' ),
92
- Change(old = 7 , new = 6 , hunk = 1 , line = ' And let there always be being,' ),
93
- Change(old = 9 , new = 8 , hunk = 2 , line = ' The two are the same,' ),
94
- Change(old = 10 , new = 9 , hunk = 2 , line = ' But after they are produced,' ),
95
- Change(old = 11 , new = 10 , hunk = 2 , line = ' they have different names.' ),
96
- Change(old = None , new = 11 , hunk = 2 , line = ' They both may be called deep and profound.' ),
97
- Change(old = None , new = 12 , hunk = 2 , line = ' Deeper and more profound,' ),
98
- Change(old = None , new = 13 , hunk = 2 , line = ' The door of all subtleties!' )],
85
+ changes = [Change(old = 1 , new = None , line = ' The Way that can be told of is not the eternal Way;' , hunk = 1 ),
86
+ Change(old = 2 , new = None , line = ' The name that can be named is not the eternal name.' , hunk = 1 ),
87
+ Change(old = 3 , new = 1 , line = ' The Nameless is the origin of Heaven and Earth;' , hunk = 1 ),
88
+ Change(old = 4 , new = None , line = ' The Named is the mother of all things.' , hunk = 1 ),
89
+ Change(old = None , new = 2 , line = ' The named is the mother of all things.' , hunk = 1 ),
90
+ Change(old = None , new = 3 , line = ' ' , hunk = 1 ),
91
+ Change(old = 5 , new = 4 , line = ' Therefore let there always be non-being,' , hunk = 1 ),
92
+ Change(old = 6 , new = 5 , line = ' so we may see their subtlety,' , hunk = 1 ),
93
+ Change(old = 7 , new = 6 , line = ' And let there always be being,' , hunk = 1 ),
94
+ Change(old = 9 , new = 8 , line = ' The two are the same,' , hunk = 2 ),
95
+ Change(old = 10 , new = 9 , line = ' But after they are produced,' , hunk = 2 ),
96
+ Change(old = 11 , new = 10 , line = ' they have different names.' , hunk = 2 ),
97
+ Change(old = None , new = 11 , line = ' They both may be called deep and profound.' , hunk = 2 ),
98
+ Change(old = None , new = 12 , line = ' Deeper and more profound,' , hunk = 2 ),
99
+ Change(old = None , new = 13 , line = ' The door of all subtleties!' , hunk = 2 )],
99
100
text = ' ...' )
100
101
101
102
The changes are listed as they are in the patch, but instead of the +/- syntax
@@ -106,7 +107,7 @@ What these numbers indicate are as follows:
106
107
#. ``( old=None, new=2, ... ) `` indicates line 2 of the file tzu was **inserted **.
107
108
#. ``( old=5, new=4, ... ) `` indicates that line 5 of lao and line 4 of tzu are **equal **.
108
109
109
- Please note that not all patch formats provide the actual lines modified, so some
110
+ Please note that not all patch formats provide the actual lines modified, so some
110
111
results will have the text portion of the tuple set to ``None ``.
111
112
112
113
Applying
0 commit comments