##// END OF EJS Templates
update: "deprecate" call to 'merge.update' without a destination...
Pierre-Yves David -
r26682:08b06824 default
parent child Browse files
Show More
@@ -1080,6 +1080,9 b' def update(repo, node, branchmerge, forc'
1080 pas = [repo[ancestor]]
1080 pas = [repo[ancestor]]
1081
1081
1082 if node is None:
1082 if node is None:
1083 if (repo.ui.configbool('devel', 'all-warnings')
1084 or repo.ui.configbool('devel', 'oldapi')):
1085 repo.ui.develwarn('update with no target')
1083 rev, _mark, _act = destutil.destupdate(repo)
1086 rev, _mark, _act = destutil.destupdate(repo)
1084 node = repo[rev].node()
1087 node = repo[rev].node()
1085
1088
General Comments 0
You need to be logged in to leave comments. Login now