diff --git a/src/features/vcs/svnMerge.tsx b/src/features/vcs/svnMerge.tsx index 6182f464db..8475f4b5ab 100644 --- a/src/features/vcs/svnMerge.tsx +++ b/src/features/vcs/svnMerge.tsx @@ -8,6 +8,7 @@ import { call, commands, nextRequestId } from "@/platform/ipc"; import { Button, Checkbox, Dialog, Input, Select, Spinner, T } from "@/ui"; import { notifications } from "@/workbench/contributions"; import { groupOf } from "./changes"; +import clsx from "clsx"; import commonStyles from "./common.module.css"; import { openDialog } from "./dialogs"; import { rootOf } from "./model"; @@ -382,21 +383,21 @@ export function SvnMergeDialog({ width={620} >
- {branchUrls.length > 0 && ( -
- - Source branch - - c.value === sourceUrl) ? sourceUrl : ""} + onChange={(v) => { + if (v) setSourceUrl(v); + }} + options={[{ value: "", label: tx("(custom URL)") }, ...branchUrls]} + /> + + )} Source URL @@ -487,7 +488,7 @@ export function SvnMergeDialog({ /> -
+
Whitespace handling @@ -496,8 +497,6 @@ export function SvnMergeDialog({ onChange={(v) => setIgnoreWhitespace(v as WhitespaceIgnoreMode)} options={MERGE_WHITESPACE_OPTIONS} /> -
-
Depth