##// END OF EJS Templates
merge: drop redundant mergeforce argument from hg.merge()...
Martin von Zweigbergk -
r44882:ddbc296a default
parent child Browse files
Show More
@@ -4909,9 +4909,7 b' def merge(ui, repo, node=None, **opts):'
4909 with ui.configoverride(overrides, b'merge'):
4909 with ui.configoverride(overrides, b'merge'):
4910 force = opts.get(b'force')
4910 force = opts.get(b'force')
4911 labels = [b'working copy', b'merge rev']
4911 labels = [b'working copy', b'merge rev']
4912 return hg.merge(
4912 return hg.merge(repo, node, force=force, labels=labels)
4913 repo, node, force=force, mergeforce=force, labels=labels
4914 )
4915
4913
4916
4914
4917 statemod.addunfinished(
4915 statemod.addunfinished(
@@ -1137,7 +1137,7 b' def updatetotally(ui, repo, checkout, br'
1137
1137
1138
1138
1139 def merge(
1139 def merge(
1140 repo, node, force=False, remind=True, mergeforce=False, labels=None,
1140 repo, node, force=False, remind=True, labels=None,
1141 ):
1141 ):
1142 """Branch merge with node, resolving changes. Return true if any
1142 """Branch merge with node, resolving changes. Return true if any
1143 unresolved conflicts."""
1143 unresolved conflicts."""
@@ -1146,7 +1146,7 b' def merge('
1146 node,
1146 node,
1147 branchmerge=True,
1147 branchmerge=True,
1148 force=force,
1148 force=force,
1149 mergeforce=mergeforce,
1149 mergeforce=force,
1150 labels=labels,
1150 labels=labels,
1151 )
1151 )
1152 _showstats(repo, stats)
1152 _showstats(repo, stats)
@@ -65,5 +65,8 b''
65 * `hg.merge()` has lost its `abort` argument. Please call
65 * `hg.merge()` has lost its `abort` argument. Please call
66 `hg.abortmerge()` directly instead.
66 `hg.abortmerge()` directly instead.
67
67
68 * `hg.merge()` has lost its `mergeforce` argument. It should have
69 only ever been called with the same value as the `force` argument.
70
68 * The `*others` argument of `cmdutil.check_incompatible_arguments()`
71 * The `*others` argument of `cmdutil.check_incompatible_arguments()`
69 changed from being varargs argument to being a single collection.
72 changed from being varargs argument to being a single collection.
General Comments 0
You need to be logged in to leave comments. Login now