mercurial/templates/gitweb/notfound.tmpl
author Pulkit Goyal <pulkit@yandex-team.ru>
Wed, 10 Oct 2018 17:36:59 +0300
changeset 40337 cb516a854bc7
parent 18526 9409aeaafdc1
permissions -rw-r--r--
narrow: only send the narrowspecs back if ACL in play I am unable to think why we need to send narrowspecs back from the server. The current state adds a 'narrow:spec' part to each changegroup which is generated when narrow extension is enabled. So we are sending narrowspecs on pull also. There is a problem with sending the narrowspecs the way we are doing it right now. We add include and exclude as parameter of the 'narrow:spec' bundle2 part. The the len of include or exclude string increase 255 which is obvious while working on large repos, bundle2 generation code breaks. For more on that refer issue5952 on bugzilla. I was thinking why we need to send the narrowspecs back, and deleted the 'narrow:spec' bundle2 part generation code and found that only narrow-acl test has some failure. With this patch, we will only send the 'narrow:spec' bundle2 part if ACL is enabled because the original narrowspecs in those cases can be a subset of narrowspecs user requested. There are phase related output change in couple of tests. The output change shows that we are now dealing in public phases completely. So maybe sending the narrow:spec bundle2 part was preventing phases being exchanged or phase bundle2 data being applied. Differential Revision: https://phab.mercurial-scm.org/D4931
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4842
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     1
{header}
5560
e78c24011001 hgweb: make notfound templates more informative
Bryan O'Sullivan <bos@serpentine.com>
parents: 4842
diff changeset
     2
<title>Mercurial repository not found</title>
4842
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     3
</head>
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     4
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     5
<body>
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     6
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     7
<div class="page_header">
13964
616ad3f6fd33 hgweb: support alternate logo url
Steven Stallion <sstallion@gmail.com>
parents: 9999
diff changeset
     8
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> Not found: {repo|escape}
4842
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     9
</div>
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    10
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    11
<div class="page_body">
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    12
The specified repository "{repo|escape}" is unknown, sorry.
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    13
<br/>
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    14
<br/>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 13964
diff changeset
    15
Please go back to the <a href="{url|urlescape}">main repository list page</a>.
4842
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    16
</div>
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    17
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    18
{footer}