Mercurial > hg
diff tests/test-obsolete.t @ 36321:ef7b48e6388d
tests: check obsolete changeset with two obsfate entries
It's more interesting to see how a changeset that was both rewritten and split
looks in hgweb.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 19 Feb 2018 12:30:23 +0800 |
parents | 7ec5925c971e |
children | f3fd4fe0506f |
line wrap: on
line diff
--- a/tests/test-obsolete.t Sun Feb 18 15:53:48 2018 -0500 +++ b/tests/test-obsolete.t Mon Feb 19 12:30:23 2018 +0800 @@ -1052,18 +1052,6 @@ <th class="obsolete">obsolete:</th> <td class="obsolete">pruned by test <span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span></td> -check an obsolete changeset that has been rewritten - $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=paper' | grep rewritten - <td>rewritten as <a href="/rev/3de5eca88c00?style=paper">3de5eca88c00</a> by test <test@example.net> <span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span></td> - $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=coal' | grep rewritten - <td>rewritten as <a href="/rev/3de5eca88c00?style=coal">3de5eca88c00</a> by test <test@example.net> <span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span></td> - $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=gitweb' | grep rewritten - <tr><td>obsolete</td><td>rewritten as <a class="list" href="/rev/3de5eca88c00?style=gitweb">3de5eca88c00</a> by test <test@example.net> <span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span></td></tr> - $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=monoblue' | grep rewritten - <dt>obsolete</dt><dd>rewritten as <a href="/rev/3de5eca88c00?style=monoblue">3de5eca88c00</a> by test <test@example.net> <span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span></dd> - $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=spartan' | grep rewritten - <td class="obsolete">rewritten as <a href="/rev/3de5eca88c00?style=spartan">3de5eca88c00</a> by test <test@example.net> <span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span></td> - check changeset with instabilities $ get-with-headers.py localhost:$HGPORT 'log?rev=first(phasedivergent())&style=paper' | grep '<span class="instability">'