Search code examples
mercurialcloneabort

HG clone - abort : HTTP Error 403: Forbidden/empty destination path not valid


Basically, I'm trying to serve (hg serve) my local repository and clone the same.

When I gave "hg clone http://localhost:8000/" (the served URL), I got "abort: HTTP Error 403: Forbidden"

When I did "unset http_proxy", tried again, abort: empty destination path is not valid popped up!

Why does it happen? Are there any prerequisites to be done in hgrc or any config files before the cloning?


Solution

  • hg clone http://localhost:8000/ .
    

    Specifying the destination viz.current working directory(.) solved it.