Show More
@@ -1030,8 +1030,9 b' def perfmergecalculate(ui, repo, **opts)' | |||||
1030 | def d(): |
|
1030 | def d(): | |
1031 | # acceptremote is True because we don't want prompts in the middle of |
|
1031 | # acceptremote is True because we don't want prompts in the middle of | |
1032 | # our benchmark |
|
1032 | # our benchmark | |
1033 |
merge.calculateupdates(repo, wctx, rctx, [ancestor], |
|
1033 | merge.calculateupdates(repo, wctx, rctx, [ancestor], branchmerge=False, | |
1034 |
acceptremote=True, |
|
1034 | force=False, acceptremote=True, | |
|
1035 | followcopies=True) | |||
1035 | timer(d) |
|
1036 | timer(d) | |
1036 | fm.end() |
|
1037 | fm.end() | |
1037 |
|
1038 |
@@ -204,12 +204,8 b' class mercurial_sink(common.converter_si' | |||||
204 | anc = [p1ctx.ancestor(p2ctx)] |
|
204 | anc = [p1ctx.ancestor(p2ctx)] | |
205 | # Calculate what files are coming from p2 |
|
205 | # Calculate what files are coming from p2 | |
206 | actions, diverge, rename = mergemod.calculateupdates( |
|
206 | actions, diverge, rename = mergemod.calculateupdates( | |
207 | self.repo, p1ctx, p2ctx, anc, |
|
207 | self.repo, p1ctx, p2ctx, anc, branchmerge=True, | |
208 | True, # branchmerge |
|
208 | force=True, acceptremote=False, followcopies=False) | |
209 | True, # force |
|
|||
210 | False, # acceptremote |
|
|||
211 | False, # followcopies |
|
|||
212 | ) |
|
|||
213 |
|
209 | |||
214 | for file, (action, info, msg) in actions.iteritems(): |
|
210 | for file, (action, info, msg) in actions.iteritems(): | |
215 | if source.targetfilebelongstosource(file): |
|
211 | if source.targetfilebelongstosource(file): |
@@ -1986,11 +1986,8 b' def _newhistedit(ui, repo, state, revs, ' | |||||
1986 | repo, wctx, c, ancs, |
|
1986 | repo, wctx, c, ancs, | |
1987 | # These parameters were determined by print-debugging |
|
1987 | # These parameters were determined by print-debugging | |
1988 | # what happens later on inside histedit. |
|
1988 | # what happens later on inside histedit. | |
1989 | False, # branchmerge |
|
1989 | branchmerge=False, force=False, acceptremote=False, | |
1990 |
False |
|
1990 | followcopies=False) | |
1991 | False, # acceptremote |
|
|||
1992 | False, # followcopies |
|
|||
1993 | ) |
|
|||
1994 | except error.Abort: |
|
1991 | except error.Abort: | |
1995 | raise error.Abort( |
|
1992 | raise error.Abort( | |
1996 | _("untracked files in working directory conflict with files in %s") % ( |
|
1993 | _("untracked files in working directory conflict with files in %s") % ( |
General Comments 0
You need to be logged in to leave comments.
Login now