Question about HG_URL

Benoit Boissinot bboissin at gmail.com
Mon Sep 8 04:47:20 CDT 2008


On Mon, Sep 8, 2008 at 6:37 AM, Alnashi, Liwaa <Liwaa.Alnashi at hstx.com> wrote:
>
>
> Hi
>
> I am a new mercurial user and I would like to ask you the following
>
> I would like to set up a mercurial folder (name it receive) that would only
> accept push/updates from a specific folder or URL (call that repo send)
>
> I'm using an SSH connection and I thought that I could use the following
> statement in the .hgrc file in the receive repo. :
>
>
> Prechangegroup.certainURL = test $HG_URL = ssh://user@server/folder/receive
>
>
> However, every time I run this hook I get the following error: "abort:
>  unexpected response:  empty string"
>
> Could you point me in the right diection J

You can only test for remote ip and local user. HG_URL looks like:
remote:ssh:<ip address>

regards,

Benoit


More information about the Mercurial mailing list