Show More
@@ -945,6 +945,40 test the default cmdline template | |||||
945 | summary: add obsolete_e |
|
945 | summary: add obsolete_e | |
946 |
|
946 | |||
947 |
|
947 | |||
|
948 | test the obsolete labels | |||
|
949 | ||||
|
950 | $ hg log --config ui.logtemplate= --color=debug -r 'phasedivergent()' | |||
|
951 | [log.changeset changeset.draft changeset.troubled trouble.orphan trouble.phase-divergent|changeset: 7:50c51b361e60] | |||
|
952 | [log.user|user: test] | |||
|
953 | [log.date|date: Thu Jan 01 00:00:00 1970 +0000] | |||
|
954 | [log.trouble|instability: orphan, phase-divergent] | |||
|
955 | [log.summary|summary: add babar] | |||
|
956 | ||||
|
957 | ||||
|
958 | $ hg log -T default -r 'phasedivergent()' --color=debug | |||
|
959 | [log.changeset changeset.draft changeset.troubled trouble.orphantrouble.phase-divergent|changeset: 7:50c51b361e60] | |||
|
960 | [log.user|user: test] | |||
|
961 | [log.date|date: Thu Jan 01 00:00:00 1970 +0000] | |||
|
962 | [log.trouble|instability: orphan, phase-divergent] | |||
|
963 | [log.summary|summary: add babar] | |||
|
964 | ||||
|
965 | ||||
|
966 | $ hg log --config ui.logtemplate= --color=debug -r "obsolete()" | |||
|
967 | [log.changeset changeset.draft changeset.obsolete|changeset: 6:3de5eca88c00] | |||
|
968 | [log.parent changeset.draft|parent: 3:6f9641995072] | |||
|
969 | [log.user|user: test] | |||
|
970 | [log.date|date: Thu Jan 01 00:00:00 1970 +0000] | |||
|
971 | [log.summary|summary: add obsolete_e] | |||
|
972 | ||||
|
973 | ||||
|
974 | $ hg log -T default -r 'obsolete()' --color=debug | |||
|
975 | [log.changeset changeset.draft changeset.obsolete|changeset: 6:3de5eca88c00] | |||
|
976 | [log.parent changeset.draft|parent: 3:6f9641995072] | |||
|
977 | [log.user|user: test] | |||
|
978 | [log.date|date: Thu Jan 01 00:00:00 1970 +0000] | |||
|
979 | [log.summary|summary: add obsolete_e] | |||
|
980 | ||||
|
981 | ||||
948 | test summary output |
|
982 | test summary output | |
949 |
|
983 | |||
950 | $ hg up -r 'phasedivergent() and orphan()' |
|
984 | $ hg up -r 'phasedivergent() and orphan()' |
General Comments 0
You need to be logged in to leave comments.
Login now