-
Notifications
You must be signed in to change notification settings - Fork 38
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
Automatically enable extensions when their commands are run #109
Comments
Ah, good catch. There's actually a way to enable extensions via command line at runtime. If that works we wouldn't need a message. |
With #104 I introduce some error handling for missing extensions. |
@mrcrowl What version of hg did you use to get that error message? I'm on hg 5.4.0 and even when I remove shelve from my extensions list in .hgrc, and verify that |
Ah, shelve is always on by default starting in hg 5.1. |
Enable shelve and purge extensions when their commands are run Fixes #109
Related to Issue #18 and PR #96:
PR #96 introduced the various shelve commands: Shelve/Unshelve/etc. However, these commands require that the hg shelve extension is enabled, i.e.
... must be present in
.hgrc
or repo'shgrc
file.Without this, the commands silently fail. The hg log window shows:
The UI should detect this error message and provide a link to instructions on how to enable shelving.
The text was updated successfully, but these errors were encountered: