http authorization failing, fallback to static doesn't support mercurial push

Issue #64 resolved
Robin Stevens
created an issue

Example:

hg push pushing to http://mait-sds1:8081/scm/hg/TestRepo

http authorization required

realm: SONIA :: SCM Manager

user: scmadmin

password:

http authorization required

realm: SONIA :: SCM Manager

user: scmadmin

password:

http authorization required

realm: SONIA :: SCM Manager

user: scmadmin

password:

http authorization required

realm: SONIA :: SCM Manager

user: scmadmin

password:

(falling back to static-http)

abort: cannot lock static-http repository

In the above, the password used is scmadmin. I've also tried with an alternative user account.

scm-manager is running from the bat file, executed in a command prompt started by an administrator account.

Comments (8)

  1. Sebastian Sebastian repo owner

    Mercurial does not support python 3, have a look at the requirements on http://mercurial.selenic.com/downloads/ and SCM-Manager has problems with the 64Bit versions of mercurial on windows. The simplest way to work with mercurial on windows is to install the package from the "Configuration Wizard" (Config->Repository Types->Mercurial Settings->Start Configuration Wizard). The wizard will install the package in the scm home folder, so you can still use your hg 1.9.2 installation as the client.

  2. Anonymous

    Installing the package from the "Configuration Wizard" (Config->Repository Types->Mercurial Settings->Start Configuration Wizard) works very well with the ActiveDirectory plugin, but that package is Mercurial 1.8.2 which is old. I tried using the library from the lastest Mercurial 2.1, which seemed to work but the ActiveDirectory plugin didn't work correctly. I noticed that copying over the file "win32_crypto.pyd" from the 1.8.2 package fixed the problem. Is this method of upgrading to the latest Mercurial ok? Is there a plan to upgrade the default package from the Start Configuration Wizard anytime soon?

  3. Log in to comment