##// END OF EJS Templates
filemerge: when merge tool uses $output, don't leave markers in $local...
Martin von Zweigbergk -
r49823:a54a8663 stable
parent child Browse files
Show More
@@ -755,8 +755,7 b' def _xmerge(repo, mynode, local, other, '
755 # Remove the .orig to make syntax-highlighting more likely.
755 # Remove the .orig to make syntax-highlighting more likely.
756 if localoutputpath.endswith(b'.orig'):
756 if localoutputpath.endswith(b'.orig'):
757 localoutputpath, ext = os.path.splitext(localoutputpath)
757 localoutputpath, ext = os.path.splitext(localoutputpath)
758 localdata = util.readfile(localpath)
758 files.append((b"local", localoutputpath, backup.data()))
759 files.append((b"local", localoutputpath, localdata))
760
759
761 with _maketempfiles(files) as temppaths:
760 with _maketempfiles(files) as temppaths:
762 basepath, otherpath = temppaths[:2]
761 basepath, otherpath = temppaths[:2]
@@ -1225,12 +1225,8 b' with premerge=keep and $output in tool a'
1225 merging f
1225 merging f
1226 revision 0
1226 revision 0
1227 space
1227 space
1228 <<<<<<< working copy: ef83787e2614 - test: revision 1 (known-bad-output !)
1229 revision 1
1228 revision 1
1230 space
1229 space
1231 ======= (known-bad-output !)
1232 revision 4 (known-bad-output !)
1233 >>>>>>> merge rev: 81448d39c9a0 - test: revision 4 (known-bad-output !)
1234 revision 4
1230 revision 4
1235 <<<<<<< working copy: ef83787e2614 - test: revision 1
1231 <<<<<<< working copy: ef83787e2614 - test: revision 1
1236 revision 1
1232 revision 1
General Comments 0
You need to be logged in to leave comments. Login now