allow_read authentication
Conrad Shultz
conrad at catalyzethis.com
Wed Oct 28 22:29:23 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
(As this is my first post, I'll briefly introduce myself as a mercurial
novice who is working to transition from CVS. I have a great deal of
experience with Linux, command line operations, etc.)
I was hoping someone can tell me what I am doing wrong or if I have
found a bug. I have been running open-pull, restricted-push mercurial
repositories for some time with hgwebdir.cgi and have not had a problem.
Recently it has been necessary to setup read-restricted repositories as
well. The central server hosting the repository is running mercurial
1.3.1 from Debian/testing, so I configured allow_read per the manpage
and in a manner identical to that for allow_push. This did indeed
remove the repository in question from the web interface.
- From a client that had cloned the repository before I added the
allow_read restriction I am still able to push changes and get prompted
for authentication in the usual manner.
HOWEVER, I cannot pull changes or clone the repository; authentication
fails without any prompt. E.g., attempting to clone the repository
"Formula" off my central server onto the local client ("chlorine") gives
results as follow:
chlorine:develop shultzc$ hg clone https://(server address)/hg/Formula
destination directory: Formula
requesting all changes
abort: authorization failed
FWIW, I'm using the latest stable mercurial build 1.3.1 on MacOS
10.6/Snow Leopard. Identical behavior is observed using the mercurial
client on the Debian box hosting the repository.
The manpage has not been helpful, nor have Google searches. What do I
need to do to get clone/pull to prompt for credentials?
Thanks in advance.
- --
Conrad Shultz
conrad at catalyzethis.com
"Beets are a very misunderstood vegetable."
- - Capt. Benjamin Sisko, Star Trek: Deep Space Nine, "Equilibrium"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFK6MXDcrIBez8+iX0RAherAKDIGCKJb0yZ2ycfRh0vJ8U7X7eK1QCgs3xo
HWs8p3o3Q+KS/nP0gbEvcRw=
=1+tN
-----END PGP SIGNATURE-----
More information about the Mercurial
mailing list