##// END OF EJS Templates
merge: drop now-unused "abort" argument from hg.merge()...
Martin von Zweigbergk -
r44639:bd4f666b default
parent child Browse files
Show More
@@ -4897,11 +4897,7 b' def merge(ui, repo, node=None, **opts):'
4897 force = opts.get(b'force')
4897 force = opts.get(b'force')
4898 labels = [b'working copy', b'merge rev']
4898 labels = [b'working copy', b'merge rev']
4899 return hg.merge(
4899 return hg.merge(
4900 repo,
4900 repo, node, force=force, mergeforce=force, labels=labels
4901 node,
4902 force=force,
4903 mergeforce=force,
4904 labels=labels,
4905 )
4901 )
4906
4902
4907
4903
@@ -1138,19 +1138,10 b' def updatetotally(ui, repo, checkout, br'
1138
1138
1139
1139
1140 def merge(
1140 def merge(
1141 repo,
1141 repo, node, force=None, remind=True, mergeforce=False, labels=None,
1142 node,
1143 force=None,
1144 remind=True,
1145 mergeforce=False,
1146 labels=None,
1147 abort=False,
1148 ):
1142 ):
1149 """Branch merge with node, resolving changes. Return true if any
1143 """Branch merge with node, resolving changes. Return true if any
1150 unresolved conflicts."""
1144 unresolved conflicts."""
1151 if abort:
1152 return abortmerge(repo.ui, repo)
1153
1154 stats = mergemod.update(
1145 stats = mergemod.update(
1155 repo,
1146 repo,
1156 node,
1147 node,
@@ -14,3 +14,6 b''
14
14
15 * The deprecated `ui.progress()` has now been deleted. Please use
15 * The deprecated `ui.progress()` has now been deleted. Please use
16 `ui.makeprogress()` instead.
16 `ui.makeprogress()` instead.
17
18 * `hg.merge()` has lost its `abort` argument. Please call
19 `hg.abortmerge()` directly instead.
General Comments 0
You need to be logged in to leave comments. Login now