# HG changeset patch # User Martin von Zweigbergk # Date 2015-11-11 18:19:11 # Node ID 7a8e9a985c3bcd2d3bb0298b0fd71f2f6f7aa836 # Parent 51fa43a3cd58ceaaf6fa581726fe2eac7c655d18 filemerge: remove leading space from " no tool found..." I could not find or see a reason for the unusual formatting. The lines following it in the test cases are not indented. diff --git a/mercurial/filemerge.py b/mercurial/filemerge.py --- a/mercurial/filemerge.py +++ b/mercurial/filemerge.py @@ -177,7 +177,7 @@ def _iprompt(repo, mynode, orig, fcd, fc fd = fcd.path() try: - index = ui.promptchoice(_(" no tool found to merge %s\n" + index = ui.promptchoice(_("no tool found to merge %s\n" "keep (l)ocal or take (o)ther?" "$$ &Local $$ &Other") % fd, 0) choice = ['local', 'other'][index] diff --git a/tests/test-merge-tools.t b/tests/test-merge-tools.t --- a/tests/test-merge-tools.t +++ b/tests/test-merge-tools.t @@ -531,7 +531,7 @@ ui.merge specifies internal:prompt: true.executable=cat # hg update -C 1 $ hg merge -r 2 --config ui.merge=internal:prompt - no tool found to merge f + no tool found to merge f keep (l)ocal or take (o)ther? l 0 files updated, 1 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) @@ -553,7 +553,7 @@ prompt with EOF true.executable=cat # hg update -C 1 $ hg merge -r 2 --config ui.merge=internal:prompt --config ui.interactive=true - no tool found to merge f + no tool found to merge f keep (l)ocal or take (o)ther? 0 files updated, 0 files merged, 0 files removed, 1 files unresolved use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon @@ -567,7 +567,7 @@ prompt with EOF # hg resolve --list U f $ hg resolve --all --config ui.merge=internal:prompt --config ui.interactive=true - no tool found to merge f + no tool found to merge f keep (l)ocal or take (o)ther? [1] $ aftermerge @@ -581,7 +581,7 @@ prompt with EOF U f $ rm f $ hg resolve --all --config ui.merge=internal:prompt --config ui.interactive=true - no tool found to merge f + no tool found to merge f keep (l)ocal or take (o)ther? [1] $ aftermerge @@ -593,7 +593,7 @@ prompt with EOF # hg resolve --list U f $ hg resolve --all --config ui.merge=internal:prompt - no tool found to merge f + no tool found to merge f keep (l)ocal or take (o)ther? l (no more unresolved files) $ aftermerge diff --git a/tests/test-merge-types.t b/tests/test-merge-types.t --- a/tests/test-merge-types.t +++ b/tests/test-merge-types.t @@ -171,7 +171,7 @@ Update to link with local change should a: versions differ -> m (premerge) (couldn't find merge tool hgmerge|tool hgmerge can't handle symlinks) (re) picked tool ':prompt' for a (binary False symlink True) - no tool found to merge a + no tool found to merge a keep (l)ocal or take (o)ther? l 0 files updated, 1 files merged, 0 files removed, 0 files unresolved $ hg diff --git