Prefill discovered SVN username
This commit is contained in:
@@ -365,6 +365,7 @@ function repoFromDiscovered(discovered, existing = {}) {
|
|||||||
name: discovered.name,
|
name: discovered.name,
|
||||||
url: discovered.url,
|
url: discovered.url,
|
||||||
checkoutPath: existing.checkoutPath || discovered.id,
|
checkoutPath: existing.checkoutPath || discovered.id,
|
||||||
|
username: existing.username || (discovered.authUsers?.length === 1 ? discovered.authUsers[0] : ""),
|
||||||
source: "server",
|
source: "server",
|
||||||
serverRepositoryRoot: discovered.rootPath,
|
serverRepositoryRoot: discovered.rootPath,
|
||||||
serverRepositoryPath: discovered.repositoryPath,
|
serverRepositoryPath: discovered.repositoryPath,
|
||||||
|
|||||||
Reference in New Issue
Block a user