##// END OF EJS Templates
filemerge._idump: drop no longer necessary 'if r:' check...
Siddharth Agarwal -
r26573:a875773c default
parent child Browse files
Show More
@@ -346,16 +346,14 b' def _idump(repo, mynode, orig, fcd, fco,'
346 346 ``a.txt``, these files will accordingly be named ``a.txt.local``,
347 347 ``a.txt.other`` and ``a.txt.base`` and they will be placed in the
348 348 same directory as ``a.txt``."""
349 r = 1
350 if r:
351 a, b, c, back = files
349 a, b, c, back = files
350
351 fd = fcd.path()
352 352
353 fd = fcd.path()
354
355 util.copyfile(a, a + ".local")
356 repo.wwrite(fd + ".other", fco.data(), fco.flags())
357 repo.wwrite(fd + ".base", fca.data(), fca.flags())
358 return False, r
353 util.copyfile(a, a + ".local")
354 repo.wwrite(fd + ".other", fco.data(), fco.flags())
355 repo.wwrite(fd + ".base", fca.data(), fca.flags())
356 return False, 1
359 357
360 358 def _xmerge(repo, mynode, orig, fcd, fco, fca, toolconf, files, labels=None):
361 359 r = 1
General Comments 0
You need to be logged in to leave comments. Login now