mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[hg]: IDEA-158778 Switching Tasks fails to switch branch (for some specific hg versions on windows)
This commit is contained in:
@@ -54,7 +54,7 @@ public class HgTaskHandler extends DvcsTaskHandler<HgRepository> {
|
||||
@Override
|
||||
protected void checkout(@NotNull String taskName, @NotNull List<HgRepository> repos, @Nullable Runnable callInAwtLater) {
|
||||
HgUpdateCommand.updateTo(
|
||||
!HgBranchUtil.getCommonBookmarks(repos).contains(taskName) ? "head() and not bookmark() and branch(" + taskName + ")" : taskName,
|
||||
!HgBranchUtil.getCommonBookmarks(repos).contains(taskName) ? "head() and not bookmark() and branch(\"" + taskName + "\")" : taskName,
|
||||
repos, callInAwtLater);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user