Patchwork D3121: tests: show that hgweb contains hidden revisions in /filelog/ view

login
register
mail settings
Submitter phabricator
Date April 5, 2018, 1:29 p.m.
Message ID <ab505c50f19422791f1a82f689ba1800@localhost.localdomain>
Download mbox | patch
Permalink /patch/30364/
State Not Applicable
Headers show

Comments

phabricator - April 5, 2018, 1:29 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc16b55edd408: tests: show that hgweb contains hidden revisions in /filelog/ view (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3121?vs=7703&id=7721

REVISION DETAIL
  https://phab.mercurial-scm.org/D3121

AFFECTED FILES
  tests/test-obsolete.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-obsolete.t b/tests/test-obsolete.t
--- a/tests/test-obsolete.t
+++ b/tests/test-obsolete.t
@@ -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'