Mercurial > hg
diff tests/test-obsolete-divergent.t @ 36955:f21798a6bc20
hgweb: explain instabilities of unstable changesets
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 26 Feb 2018 20:44:21 +0800 |
parents | efc4fb344c05 |
children | 7c18798fc24d |
line wrap: on
line diff
--- a/tests/test-obsolete-divergent.t Mon Feb 26 20:44:01 2018 +0800 +++ b/tests/test-obsolete-divergent.t Mon Feb 26 20:44:21 2018 +0800 @@ -720,3 +720,19 @@ $ hg debugwhyunstable 1a2a9b5b0030 content-divergent: 70d5a63ca112acb3764bc1d7320ca90ea688d671 (draft) predecessor a178212c3433c4e77b573f6011e29affb8aefa33 + +#if serve + + $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log + $ cat hg.pid >> $DAEMON_PIDS + +check explanation for a content-divergent changeset + + $ get-with-headers.py localhost:$HGPORT 'rev/1a2a9b5b0030?style=paper' | grep divergent: + <td>content-divergent: <a href="/rev/70d5a63ca112?style=paper">70d5a63ca112</a> (draft) predecessor <a href="/rev/a178212c3433?style=paper">a178212c3433</a></td> + $ get-with-headers.py localhost:$HGPORT 'rev/1a2a9b5b0030?style=coal' | grep divergent: + <td>content-divergent: <a href="/rev/70d5a63ca112?style=coal">70d5a63ca112</a> (draft) predecessor <a href="/rev/a178212c3433?style=coal">a178212c3433</a></td> + + $ killdaemons.py + +#endif