Cannot clone local repository

Matt Mackall mpm at selenic.com
Wed Jun 30 05:13:12 UTC 2010


On Tue, 2010-06-29 at 21:03 -0700, hjazz6 wrote:
> Hi all,
> 
> I have a user who cannot clone his local repository to the central
> repository I set up. 
> 
> I'm using Mercurial 0.6 (there were problems installing the newer version on
> the Linux server).

Wow, that's old.

$ hg log -r 0.6
changeset:   457:12e0fdbc57a0
tag:         0.6
user:        mpm at selenic.com
date:        Fri Jun 24 12:28:09 2005 -0800
summary:     Release tweaks

Mercurial was about 3 months old at that point, rather than 5 years and
3 months. It'll probably work, but..

I don't know anything about mercurial-server (it's a third-party
project), but looking at the docs suggest:

> init repo=ProjectA user=UserA/**,UserB/**

..that this is completely wrong as that seems to suggest you need to
simultaneously be UserA and UserB.

You probably want:

init repo=ProjectA user=UserA/**
init repo=ProjectA user=UserB/**

And it's a bit silly to give two users the right to create a single
project without wildcards, as it can only be created once.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list