[PATCH 2 of 2 V3] serve: make the URL the same for `hg serve` and `hg serve -S`

Matt Harbison mharbison72 at gmail.com
Thu Mar 30 21:21:27 EDT 2017


On Tue, 28 Mar 2017 10:02:34 -0400, Yuya Nishihara <yuya at tcha.org> wrote:

> On Sun, 26 Mar 2017 23:04:31 -0400, Matt Harbison wrote:
>> # HG changeset patch
>> # User Matt Harbison <matt_harbison at yahoo.com>
>> # Date 1488146777 18000
>> #      Sun Feb 26 17:06:17 2017 -0500
>> # Node ID d584ca4bc33bd2ebeaf9a7bd86440b3cdcecc138
>> # Parent  0ff9bef3e0f67422cf29c200fa4a671d861d060b
>> serve: make the URL the same for `hg serve` and `hg serve -S`
>>
>> It's perfectly workable to serve up the parent repo without the -S for  
>> push and
>> pull, as long as there are no subrepo changes in play.  Therefore,  
>> having a
>> different URL for the main repo based on the presence of this option  
>> seems like
>> it would get annoying.
>
> This looks good, but more detailed commit message will help since some
> changes in hgweb/hgwebdir are really subtle.

Other than noting that this change allows repos to be hosted at "", is  
there something else to mention on this one?


More information about the Mercurial-devel mailing list