|
@ -44,6 +44,10 @@ export class DeepLinkService implements Disposable { |
|
|
if (link == null) return; |
|
|
if (link == null) return; |
|
|
|
|
|
|
|
|
if (this._context.state === DeepLinkServiceState.Idle) { |
|
|
if (this._context.state === DeepLinkServiceState.Idle) { |
|
|
|
|
|
if (this.container.git.isDiscoveringRepositories) { |
|
|
|
|
|
await this.container.git.isDiscoveringRepositories; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (!link.type || (!link.repoId && !link.remoteUrl && !link.repoPath)) { |
|
|
if (!link.type || (!link.repoId && !link.remoteUrl && !link.repoPath)) { |
|
|
void window.showErrorMessage('Unable to resolve link'); |
|
|
void window.showErrorMessage('Unable to resolve link'); |
|
|
Logger.warn(`Unable to resolve link - missing basic properties: ${uri.toString()}`); |
|
|
Logger.warn(`Unable to resolve link - missing basic properties: ${uri.toString()}`); |
|
@ -126,6 +130,10 @@ export class DeepLinkService implements Disposable { |
|
|
|
|
|
|
|
|
let action = DeepLinkServiceAction.OpenRepo; |
|
|
let action = DeepLinkServiceAction.OpenRepo; |
|
|
|
|
|
|
|
|
|
|
|
if (this.container.git.isDiscoveringRepositories) { |
|
|
|
|
|
await this.container.git.isDiscoveringRepositories; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (pendingDeepLink.repoPath != null) { |
|
|
if (pendingDeepLink.repoPath != null) { |
|
|
const repoOpenUri = Uri.parse(pendingDeepLink.repoPath); |
|
|
const repoOpenUri = Uri.parse(pendingDeepLink.repoPath); |
|
|
try { |
|
|
try { |
|
|