-
Notifications
You must be signed in to change notification settings - Fork 2
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
Release 0.9.0 #27
Release 0.9.0 #27
Conversation
5d5735c
to
384222b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to finally have an extension for Mercurial!
There's quite a lot of opportunity for code re-use between the git and hg extensions, but I don't think it's worth going much further until we know what Theia's SCM strategy will be.
Comments are just for low-handing fruit that I think will be quick to fix.
|
||
// This implementation leaves all command servers running. There is no mechanism for shutting | ||
// down command servers for repoistories that the user is no longer interacting with. | ||
const commandServers: Map<string, HGRepo> = new Map(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than storing state in the module, it would be better to add an injectable class that tracks the command servers.
What are the teams plans for mercurial moving forward? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for updating.
Signed-off-by: Nigel Westbury <[email protected]> Clean up css class names and other code review changes
Signed-off-by: Nigel Westbury <[email protected]>
The version of TypeScript and @types/react used in mbs-ide are not compatible with the `event` type replaced by this commit. This commit can be reverted from ARMmbed/theia when: - Theia updates TS or @types/react such that the original code compiles - mbs-ide no longer uses @theia/scm in its workspace.
Shut down Mercurial command servers after 10 seconds of inactivity Clean out unneeded code Added test for HgCommandServer utils.
0c38755
to
3784cfe
Compare
This is a PR of the new Mercurial extension into a temporary branch so it can be reviewed. There is also a second commit that is a copy of the PR put into Theia. See eclipse-theia#6426 .