When you select http or https in the Clone Other wizard you see a Username and Password field. Entering information into
them has no effect.
The UI is there but the information is not being passed onto the hg commands. This needs to be implemented.
HTTPS authorisation is only supported in Mercurial from the console. It is not supported in non interactive mode, so
there is no way for us to pass a username and password from within the plug-in:
if not self.ui.interactive:
raise util.Abort(_('http authorization required'))
So we will disable https support from the Clone Other and Push/Pull commands. Users then have the choice of accessing a
repository via http or ssh. With ssh you need to connect to the repository from the command line or other ssh utility to
cache the server certificate on the client, once this has been done the plug-in can connect to the ssh repository
without requiring any further user interaction.
Created attachment 53234 [details]
The attached patch removes refreence to https and iusername and password fields.
Created attachment 53245 [details]
There was an error in the original patch in that it still displayed the username label. This is corrected in the updated
bash-3.2$ cat ~/output
IDE: [11/20/07 2:44 PM] Committing Files started
Checking in Repository.java;
new revision: 1.12; previous revision: 1.11
Checking in Bundle.properties;
new revision: 1.6; previous revision: 1.5
IDE: [11/20/07 2:44 PM] Committing Files finished
Reopening this as it is possible to send username password as part of the URL for HTTP and Hg will accept it.
Currently entering this into the clone wizard you get:
"Cannot access the repository" for this pattern.
This is due to a validation failure in the RepositoryStepProgress.perform() code, which is returning -1 for the
Created attachment 54208 [details]
Committed to Head.
Removing release601_fixes_candidate1 status-whiteboard since this fix was included as part of Hg respin (which was
released together with patch1).