[PATCH 1 of 1 stable rfc] hgweb: handle paths with wildcards expanding in a repository root
Matt Mackall
mpm at selenic.com
Thu Feb 3 11:04:37 CST 2011
On Thu, 2011-02-03 at 03:33 +0100, Mads Kiilerich wrote:
> Do you agree that this is how it should work?
>
> Or should 'repo' be excluded when expanding 'repo/*'? That could make sense,
> but it wouldn't be very convenient.
>
>
> # HG changeset patch
> # User Mads Kiilerich <mads at kiilerich.com>
> # Date 1296700431 -3600
> # Branch stable
> # Node ID 0497e8f94992e481eca3abb773b2501cf28a906a
> # Parent 5fc7c84ed9b0ae9c3b9d16214db147405627d7dd
> hgweb: handle paths with wildcards expanding in a repository root
>
> There was a trailing / too much when the wildcard expanded to nothing.
Huh?
Much like the subrepo path munging, I've long said that hgweb path
handling needs to be a doctest for clarity and testability.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list