##// END OF EJS Templates
simplemerge: remove now-unused `localorother` argument from `merge_lines()`...
Martin von Zweigbergk -
r49346:bd27dad2 default
parent child Browse files
Show More
@@ -96,7 +96,6 b' class Merge3Text(object):'
96 mid_marker=b'=======',
96 mid_marker=b'=======',
97 end_marker=b'>>>>>>>',
97 end_marker=b'>>>>>>>',
98 base_marker=None,
98 base_marker=None,
99 localorother=None,
100 minimize=False,
99 minimize=False,
101 ):
100 ):
102 """Return merge in cvs-like form."""
101 """Return merge in cvs-like form."""
@@ -128,13 +127,6 b' class Merge3Text(object):'
128 for i in range(t[1], t[2]):
127 for i in range(t[1], t[2]):
129 yield self.b[i]
128 yield self.b[i]
130 elif what == b'conflict':
129 elif what == b'conflict':
131 if localorother == b'local':
132 for i in range(t[3], t[4]):
133 yield self.a[i]
134 elif localorother == b'other':
135 for i in range(t[5], t[6]):
136 yield self.b[i]
137 else:
138 self.conflicts = True
130 self.conflicts = True
139 if start_marker is not None:
131 if start_marker is not None:
140 yield start_marker + newline
132 yield start_marker + newline
General Comments 0
You need to be logged in to leave comments. Login now