Show More
@@ -242,8 +242,14 def _ilocal(repo, mynode, orig, fcd, fco | |||
|
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 | if fco.isabsent(): | |
|
246 | # local changed, remote deleted -- 'deleted' picked | |
|
247 | repo.wvfs.unlinkpath(fcd.path()) | |
|
248 | deleted = True | |
|
249 | else: | |
|
245 | 250 | repo.wwrite(fcd.path(), fco.data(), fco.flags()) |
|
246 |
|
|
|
251 | deleted = False | |
|
252 | return 0, deleted | |
|
247 | 253 | |
|
248 | 254 | @internaltool('fail', nomerge) |
|
249 | 255 | def _ifail(repo, mynode, orig, fcd, fco, fca, toolconf): |
General Comments 0
You need to be logged in to leave comments.
Login now