Mercurial > hg
diff tests/test-obsolete.t @ 37362:c16b55edd408
tests: show that hgweb contains hidden revisions in /filelog/ view
Note that these entries contain the summary line of the hidden commit,
which is a bit a privacy issue to display. Also note that the links
from the entries take you to a page that says:
An error occurred while processing your request:
filtered revision '2d32257e1109' (not in 'served' subset)
Differential Revision: https://phab.mercurial-scm.org/D3121
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 05 Apr 2018 00:00:48 -0700 |
parents | 45a4799174a1 |
children | d3a2344446e6 |
line wrap: on
line diff
--- a/tests/test-obsolete.t Wed Apr 04 09:03:17 2018 -0700 +++ b/tests/test-obsolete.t Thu Apr 05 00:00:48 2018 -0700 @@ -894,6 +894,69 @@ $ get-with-headers.py --headeronly localhost:$HGPORT 'log/'`hg log -r . -T "{node}"`/'babar' 200 Script output follows +check filelog view for hidden commits (obsolete ones are hidden here) + + $ get-with-headers.py localhost:$HGPORT 'log/'`hg log -r . -T "{node}"`/'babar' | grep obsolete + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + <span class="phase">draft</span> <span class="obsolete">obsolete</span> + $ get-with-headers.py --headeronly localhost:$HGPORT 'rev/68' 200 Script output follows $ get-with-headers.py --headeronly localhost:$HGPORT 'rev/67'