Part of bzrlib.diff View In Hierarchy
Method | __init__ | Constructor. |
Method | diff | Compare two files in unified diff format |
Method | diff_text | Diff the content of given files in two trees |
Inherited from DiffPath:
Method | finish | Undocumented |
Class Method | from_diff_tree | Undocumented |
Static Method | _diff_many | Undocumented |
Parameters | old_tree | The tree to show as the old tree in the comparison |
new_tree | The tree to show as new in the comparison | |
to_file | The file to write comparison data to | |
path_encoding | The character encoding to write paths in |
Parameters | file_id | The file_id of the file to compare |
old_path | Path of the file in the old tree | |
new_path | Path of the file in the new tree | |
old_kind | Old file-kind of the file | |
new_kind | New file-kind of the file |
Parameters | from_file_id | The id of the file in the from tree. If None, the file is not present in the from tree. |
to_file_id | The id of the file in the to tree. This may refer to a different file from from_file_id. If None, the file is not present in the to tree. | |
from_path | The path in the from tree or None if unknown. | |
to_path | The path in the to tree or None if unknown. |