##// END OF EJS Templates
tests: demonstrate crash in `unstable()` with internal-phase orphans
Martin von Zweigbergk -
r52003:042d3235 default
parent child Browse files
Show More
@@ -1000,6 +1000,23 b' Commit is hidden as expected'
1000 date: Thu Jan 01 00:00:00 1970 +0000
1000 date: Thu Jan 01 00:00:00 1970 +0000
1001 summary: A
1001 summary: A
1002
1002
1003 The hidden commit is an orphan but doesn't show up without --hidden
1004
1005 $ hg debugobsolete `hg id --debug -ir 0`
1006 1 new obsolescence markers
1007 obsoleted 1 changesets
1008 $ hg --hidden log -G -r 'unstable()'
1009 * changeset: 1:c01c42dffc7f
1010 | tag: tip
1011 ~ user: test
1012 date: Thu Jan 01 00:00:00 1970 +0000
1013 instability: orphan
1014 summary: my test internal commit
1015
1016 $ hg log -G -r 'unstable()'
1017 abort: filtered revision '1' (known-bad-output !)
1018 [10]
1019
1003
1020
1004 Test for archived phase
1021 Test for archived phase
1005 -----------------------
1022 -----------------------
General Comments 0
You need to be logged in to leave comments. Login now