I'm having trouble clicking on the mercurial repository:
$ hg push pushing to https://user:***@hg.domain.com/X_repo searching for changes abort: authorization failed
The same URL (with the same credentials) is accessible through a web browser. Also, I tried this without inserting usr + pass in the url.
HTTPS is configured correctly, I tried both Basic and Digest auth - with no luck.
Pulling (over HTTP) works fine.
I use hgwebdir to service my repo.
What else should I check?
I found this: http://code.google.com/p/support/issues/detail?id=2580 In my case, this is not random, it happens every time.
The relevant part of my vhost conf:
WSGIScriptAlias / /home/(...)/hgwebdir.wsgi <Directory /home/(...)> AuthType Basic AuthUserFile /(...)/basic-password AuthName (...) Require valid-user Order deny,allow Allow from all </Directory> $ hg -v Mercurial Distributed SCM (version 1.0.2)
Oddly enough, hg outgoing works fine:
$ hg outgoing comparing with https://hg.domain.com/X_repo http authorization required realm: ... user: ... password: searching for changes changeset: 64:... tag: tip user: ... date: ... summary: ...
Piotr Byzia Jun 03 '09 at 19:40 2009-06-03 19:40
source share