##// 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 ``a.txt``, these files will accordingly be named ``a.txt.local``,
346 ``a.txt``, these files will accordingly be named ``a.txt.local``,
347 ``a.txt.other`` and ``a.txt.base`` and they will be placed in the
347 ``a.txt.other`` and ``a.txt.base`` and they will be placed in the
348 same directory as ``a.txt``."""
348 same directory as ``a.txt``."""
349 r = 1
349 a, b, c, back = files
350 if r:
350
351 a, b, c, back = files
351 fd = fcd.path()
352
352
353 fd = fcd.path()
353 util.copyfile(a, a + ".local")
354
354 repo.wwrite(fd + ".other", fco.data(), fco.flags())
355 util.copyfile(a, a + ".local")
355 repo.wwrite(fd + ".base", fca.data(), fca.flags())
356 repo.wwrite(fd + ".other", fco.data(), fco.flags())
356 return False, 1
357 repo.wwrite(fd + ".base", fca.data(), fca.flags())
358 return False, r
359
357
360 def _xmerge(repo, mynode, orig, fcd, fco, fca, toolconf, files, labels=None):
358 def _xmerge(repo, mynode, orig, fcd, fco, fca, toolconf, files, labels=None):
361 r = 1
359 r = 1
General Comments 0
You need to be logged in to leave comments. Login now