[PATCH] dispatch: do not construct repo for chgserver
Jun Wu
quark at fb.com
Fri Feb 19 09:46:14 EST 2016
On 02/19/2016 02:27 PM, Yuya Nishihara wrote:
> Uh. If this is the only way to go, I would rather add a copy of
> "serve" command, say "debugchgserve", and set it to "norepo" and
> (new) "nowarnrepo".
That's "alternative 2" in my previous mail ;)
Is it worth adding a new top level command? From the users' perspective
the commands are not that different.
Since this is internal implementation detail, I would hide it from end
users. i.e. it's impossible for an end user to abuse it.
And I think it's valid for a power user to start a chg server manually.
So probably just make "hg serve" work as expected.
More information about the Mercurial-devel
mailing list