comparison mercurial/simplemerge.py @ 34049:6330df9d6393

simplemerge: remove unused `repo` parameter This is now no longer used or needed thanks to the `decodeddata()` context function. Differential Revision: https://phab.mercurial-scm.org/D602
author Phil Cohen <phillco@fb.com>
date Fri, 01 Sep 2017 10:35:43 -0700
parents 39d253d088a9
children 93c4958d987c
comparison
equal deleted inserted replaced
34048:0e0ac8f09048 34049:6330df9d6393
411 result = defaults[:] 411 result = defaults[:]
412 for i, override in enumerate(overrides): 412 for i, override in enumerate(overrides):
413 result[i] = override 413 result[i] = override
414 return result 414 return result
415 415
416 def simplemerge(ui, localctx, basectx, otherctx, repo=None, **opts): 416 def simplemerge(ui, localctx, basectx, otherctx, **opts):
417 """Performs the simplemerge algorithm. 417 """Performs the simplemerge algorithm.
418 418
419 The merged result is written into `localctx`. 419 The merged result is written into `localctx`.
420 """ 420 """
421 def readctx(ctx): 421 def readctx(ctx):