Mercurial > hg
diff tests/histedit-helpers.sh @ 25426:5f3666da6910 stable
hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Previously, if a subrepo parent had 'web.hidden=True' set, neither the parent
nor child had a repository entry. However, the directory entry for the parent
would be listed (it wouldn't have the fancy 'web.name' if configured), and that
link went to the repo's summary page, effectively making it not hidden.
This simply disables the directory processing if a valid repository is present.
Whether or not the subrepo should be hidden is debatable, but this leaves that
behavior unchanged (i.e. it stays hidden).
author | Matt Harbison <mharbison@attotech.com> |
---|---|
date | Mon, 01 Jun 2015 18:06:20 -0400 |
parents | 35729bdd59b6 |
children | 890273343170 |