eeaf3ab069
ok jasper@
22 lines
861 B
Plaintext
22 lines
861 B
Plaintext
$OpenBSD: patch-bzrlib_patch_py,v 1.2 2011/01/10 20:18:09 eric Exp $
|
|
--- bzrlib/patch.py.orig Mon Dec 6 17:52:07 2010
|
|
+++ bzrlib/patch.py Mon Dec 6 17:52:44 2010
|
|
@@ -65,7 +65,7 @@ def patch(patch_contents, filename, output_filename=No
|
|
:type reverse: bool
|
|
:return: 0 on success, 1 if some hunks failed
|
|
"""
|
|
- args = ["patch", "-f", "-s", "--posix", "--binary"]
|
|
+ args = ["patch", "-f", "-s", "--posix"]
|
|
if reverse:
|
|
args.append("--reverse")
|
|
if output_filename is not None:
|
|
@@ -81,7 +81,7 @@ def diff3(out_file, mine_path, older_path, yours_path)
|
|
check_text_path(mine_path)
|
|
check_text_path(older_path)
|
|
check_text_path(yours_path)
|
|
- args = ['diff3', "-E", "--merge"]
|
|
+ args = ['gdiff3', "-E", "--merge"]
|
|
add_label(args, "TREE")
|
|
add_label(args, "ANCESTOR")
|
|
add_label(args, "MERGE-SOURCE")
|