login community faq

Hello!

I followed this guide (from the documentation), I managed to successfully setup Mercurial with the hgweb.cgi web app and the whole shebang. I've tested it through the command line (Mac OS X Terminal) and the web interface and everything seems to be working fine, however, I'm experiencing some difficulties with setting up MacHg (UI front-end for Mercurial).

I've set up the server app with an .htaccess file, restricted to one user, using the latter method mentioned here. The only thing I did different from the guide is that I'm not using HTTPS for the repo (because I haven't figured out how to enable it for only a sub-domain (http://mydomain/repo/) in the "Website" records in the WebFaction).

I was wondering if maybe somebody else have successfully configured MacHg (or something similar, like Murky) towards a Mercurial repository hosted on WebFactions, and could give me some pointers? I haven't done anything like this before, so any tips, tricks and advice would be greatly appreciated! :)

This is the error message I get when trying to set it up through normal HTTP:

1
2
Errors:
abort: 'http://<usr>:<pwd>@mydomain.com/repo' does not appear to be an hg repository!

Thanks in advance!

PS: Many thanks to the person who wrote the Mercurial setup documentation! It was really simple to follow, even for me who has never setup anything like that before. Kudos!

asked Aug 08 '11 at 19:28

Leif's gravatar image

Leif
114

edited Aug 09 '11 at 15:19

Can you tell us the exact error that MacHg shows?

(Aug 08 '11 at 23:26) neeravk ♦♦ neeravk's gravatar image

I added the error message, and whilst doing so, I figured out what the problem was. It was just me being silly and trying to use the wrong path. I guess I was blinded by the obvious :p

Thanks for the help though! :)

(Aug 09 '11 at 15:27) Leif Leif's gravatar image

However, it appears as if I still have some authentication problems when I try to push my changes back into the repo.

(Aug 09 '11 at 15:38) Leif Leif's gravatar image

Figured it out!

This was me being a total noob (PEBKAC). Basically, I was trying to use the path to where Mercurial runs (the root path of the application) as a repository. But this is of course only where the web applications runs.

So, I was trying to add this as a repository:

1
http://mydomain.com/repo

When I should have been adding the individual repositories, like so:

1
http://mydomain.com/repo/TestRepo

answered Aug 09 '11 at 15:26

Leif's gravatar image

Leif
114

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×12
×5
×4
×2
×1

Asked: Aug 08 '11 at 19:28

Seen: 972 times

Last updated: Aug 09 '11 at 15:38

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited