Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fixed prompts for login constantly (close #552) #620

Merged
merged 1 commit into from
Jun 27, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/svn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ export class Svn {
args.push("--password", options.password);
}

if (options.username || options.password) {
// Configuration format: FILE:SECTION:OPTION=[VALUE]
// Disable password store
args.push("--config-option", "config:auth:password-stores=");
// Disable store auth credentials
args.push("--config-option", "servers:global:store-auth-creds=no");
}

// Force non interactive environment
args.push("--non-interactive");

Expand Down