Details
-
Suggestion
-
Resolution: Invalid
Description
It's a common use to redirect a repository served by hgweb to a bb's one (at least I hope . Here are my redirections (lighty setup):
{{{
#!python
url.redirect = (
"^/biologeek/rev/(._)?$" => "mydomain/biologeek/changeset/$1/",
"^/biologeek/archive/(._)?$" => "mydomain/biologeek/",
"^/biologeek/file/(._)?$" => "mydomain/biologeek/src/$1/",
"^/biologeek/log/(._)?$" => "mydomain/biologeek/changesets/$1/",
"^/biologeek/(rss|atom)-log$" => "mydomain/biologeek/$1/",
"^/biologeek/(log|shortlog)$" => "mydomain/biologeek/changesets/",
"^/biologeek/(summary|tags)?$" => "mydomain/biologeek/",
)
}}}
I wonder if it's a good idea to redirect those URLs before raising a 404 error given the facts it doesn't clash with an existing one in bb.