Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Add checks for non-ENU tf(.exe) #158

Merged
merged 5 commits into from
Mar 21, 2017
Merged

Add checks for non-ENU tf(.exe) #158

merged 5 commits into from
Mar 21, 2017

Conversation

jeffyoung
Copy link
Contributor

(Reviewing by commit may be easier.)

  • French, German and Spanish all return version strings a bit differently. French and Spanish are quick outs. The German version string parses fine but when getting the workspace it can be detected.
  • Also moved the initialization of the SCM provider after we have valid credentials. If we don't, there's no sense in setting up the provider.

Jeff Young added 4 commits March 20, 2017 15:41
These are 3 of the supported tf (VS) languages and are all a bit different from each other.
@@ -275,6 +275,14 @@ export class ExtensionManager implements Disposable {
}
}
}

// Now that everything else is ready, create the SCM provider
if (this._repoContext.Type === RepositoryType.TFVC && !this._scmProvider) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems incorrect. The Reinit call will happen if the type != TFVC.

Copy link
Member

@jpricket jpricket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be one bug. See comments

@jeffyoung jeffyoung merged commit 435bf91 into master Mar 21, 2017
@jeffyoung jeffyoung deleted the jeyou/non-enu-tf branch March 21, 2017 14:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants