vscode-hg
vscode-hg copied to clipboard
Enhancement: Allow user to specify username instead of error "Hg: no username supplied"
When doing the first commit, if the username is not specified, we issue an error:

We could prompt the user to enter a username instead.
Mercurial shows this:
hg commit hello -m Add hello
abort: no username supplied
(use 'hg config --edit' to set your username)
We can at least display a button to hg config --edit
I dig it. There's a function errorPromptOpenLog in interaction.ts that we'll want to use for this. It corresponds to the error-handling section of createCommand in the Git extension. I am refactoring it a little for #18, so let me finish that before you start this (assuming you want to take it, of course).
Ok! :smile: