##// 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,8 +346,6 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
350 if r:
351 a, b, c, back = files
349 a, b, c, back = files
352
350
353 fd = fcd.path()
351 fd = fcd.path()
@@ -355,7 +353,7 b' def _idump(repo, mynode, orig, fcd, fco,'
355 util.copyfile(a, a + ".local")
353 util.copyfile(a, a + ".local")
356 repo.wwrite(fd + ".other", fco.data(), fco.flags())
354 repo.wwrite(fd + ".other", fco.data(), fco.flags())
357 repo.wwrite(fd + ".base", fca.data(), fca.flags())
355 repo.wwrite(fd + ".base", fca.data(), fca.flags())
358 return False, r
356 return False, 1
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