command server can't start w/o a repo. Idan, do you confirm?

Idan Kamara idankk86 at gmail.com
Fri Jul 19 15:01:09 CDT 2013


On Fri, Jul 19, 2013 at 10:27 PM, Giovanni Gherdovich <
g.gherdovich at gmail.com> wrote:

> Hello Idan,
>
> I run across this mail thread from 2011 where it is clearly said
> that the command server cannot start if a repo is not already in place.
>
> "cmdserver protocol questions"
> http://markmail.org/thread/3ro5ghxan5a26xb4
>
> When I run
>
> ++++++++++++++++++++++++++++++++
> $ hg serve --cmdserver pipe
> abort: there is no Mercurial repository here (.hg not found)!
> ++++++++++++++++++++++++++++++++
>
> so it looks like it is still the case today.
>
> Do you confirm that?
>

Indeed. It's also in the 'known issues' section here:
http://mercurial.selenic.com/wiki/CommandServer#Known_issues


>
> as a corollary, one could not just fire up the command server and
> run a `hg clone` with it.
>

Correct. You'd run that with plain hg and then connect to the created repo.
It's worth saying that fixing this shouldn't be too hard. You'd have to
allow it to start without a repo and try to create one on every command
invocation until one is found and from then on it'll work as it does today.

But given Iulian progress so far (and due to the code freeze that just
begun), I think there are more important things to focus on.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130719/82c07e66/attachment.html>


More information about the Mercurial-devel mailing list