Show More
@@ -232,18 +232,18 b' def _iprompt(repo, mynode, orig, fcd, fc' | |||
|
232 | 232 | return _ilocal(repo, mynode, orig, fcd, fco, fca, toolconf) |
|
233 | 233 | except error.ResponseExpected: |
|
234 | 234 | ui.write("\n") |
|
235 | return 1 | |
|
235 | return 1, False | |
|
236 | 236 | |
|
237 | 237 | @internaltool('local', nomerge) |
|
238 | 238 | def _ilocal(repo, mynode, orig, fcd, fco, fca, toolconf): |
|
239 | 239 | """Uses the local version of files as the merged version.""" |
|
240 | return 0 | |
|
240 | return 0, False | |
|
241 | 241 | |
|
242 | 242 | @internaltool('other', nomerge) |
|
243 | 243 | def _iother(repo, mynode, orig, fcd, fco, fca, toolconf): |
|
244 | 244 | """Uses the other version of files as the merged version.""" |
|
245 | 245 | repo.wwrite(fcd.path(), fco.data(), fco.flags()) |
|
246 | return 0 | |
|
246 | return 0, False | |
|
247 | 247 | |
|
248 | 248 | @internaltool('fail', nomerge) |
|
249 | 249 | def _ifail(repo, mynode, orig, fcd, fco, fca, toolconf): |
@@ -251,7 +251,7 b' def _ifail(repo, mynode, orig, fcd, fco,' | |||
|
251 | 251 | Rather than attempting to merge files that were modified on both |
|
252 | 252 | branches, it marks them as unresolved. The resolve command must be |
|
253 | 253 | used to resolve these conflicts.""" |
|
254 | return 1 | |
|
254 | return 1, False | |
|
255 | 255 | |
|
256 | 256 | def _premerge(repo, toolconf, files, labels=None): |
|
257 | 257 | tool, toolpath, binary, symlink = toolconf |
@@ -536,7 +536,8 b' def _filemerge(premerge, repo, mynode, o' | |||
|
536 | 536 | toolconf = tool, toolpath, binary, symlink |
|
537 | 537 | |
|
538 | 538 | if mergetype == nomerge: |
|
539 |
r |
|
|
539 | r, deleted = func(repo, mynode, orig, fcd, fco, fca, toolconf) | |
|
540 | return True, r | |
|
540 | 541 | |
|
541 | 542 | if premerge: |
|
542 | 543 | if orig != fco.path(): |
General Comments 0
You need to be logged in to leave comments.
Login now