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

Yuya Nishihara yuya at tcha.org
Tue Mar 28 10:02:34 EDT 2017


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.


More information about the Mercurial-devel mailing list