Show More
@@ -4857,6 +4857,8 b' def merge(ui, repo, node=None, **opts):' | |||
|
4857 | 4857 | ) |
|
4858 | 4858 | if node: |
|
4859 | 4859 | raise error.Abort(_(b"cannot specify a node with --abort")) |
|
4860 | return hg.abortmerge(repo.ui, repo) | |
|
4861 | ||
|
4860 | 4862 | if opts.get(b'rev') and node: |
|
4861 | 4863 | raise error.Abort(_(b"please specify just one revision")) |
|
4862 | 4864 | if not node: |
@@ -4865,7 +4867,7 b' def merge(ui, repo, node=None, **opts):' | |||
|
4865 | 4867 | if node: |
|
4866 | 4868 | node = scmutil.revsingle(repo, node).node() |
|
4867 | 4869 | |
|
4868 |
if not node |
|
|
4870 | if not node: | |
|
4869 | 4871 | if ui.configbool(b'commands', b'merge.require-rev'): |
|
4870 | 4872 | raise error.Abort( |
|
4871 | 4873 | _( |
@@ -4898,7 +4900,6 b' def merge(ui, repo, node=None, **opts):' | |||
|
4898 | 4900 | force=force, |
|
4899 | 4901 | mergeforce=force, |
|
4900 | 4902 | labels=labels, |
|
4901 | abort=abort, | |
|
4902 | 4903 | ) |
|
4903 | 4904 | |
|
4904 | 4905 |
General Comments 0
You need to be logged in to leave comments.
Login now