comparison tests/test-evolve-obshistory.t @ 3054:bc890c6c9b2f

obslog: spell out successor completely If the successor is not known locally, obslog says `succ is unknown locally` which is not a good message. This patch makes sure succ is spelled out completely as successor.
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 09 Oct 2017 19:35:32 +0530
parents 945a0989e41b
children 774b4ea6ca58
comparison
equal deleted inserted replaced
3042:93ea1d9d6ad3 3054:bc890c6c9b2f
1636 | rewritten(description) as 7a230b46bf61 by test (*) (glob) 1636 | rewritten(description) as 7a230b46bf61 by test (*) (glob)
1637 | (No patch available yet, context is not local) 1637 | (No patch available yet, context is not local)
1638 | 1638 |
1639 @ 471f378eab4c (1) A0 1639 @ 471f378eab4c (1) A0
1640 rewritten(description) as fdf9bde5129a by test (*) (glob) 1640 rewritten(description) as fdf9bde5129a by test (*) (glob)
1641 (No patch available yet, succ is unknown locally) 1641 (No patch available yet, successor is unknown locally)
1642 1642
1643 $ hg obslog 7a230b46bf61 --color=debug --patch 1643 $ hg obslog 7a230b46bf61 --color=debug --patch
1644 o [evolve.node|7a230b46bf61] [evolve.rev|(2)] [evolve.short_description|A2] 1644 o [evolve.node|7a230b46bf61] [evolve.rev|(2)] [evolve.short_description|A2]
1645 | 1645 |
1646 x [evolve.node evolve.missing_change_ctx|fdf9bde5129a] 1646 x [evolve.node evolve.missing_change_ctx|fdf9bde5129a]
1647 | [evolve.verb|rewritten](description) as [evolve.node|7a230b46bf61] by [evolve.user|test] [evolve.date|(*)] (glob) 1647 | [evolve.verb|rewritten](description) as [evolve.node|7a230b46bf61] by [evolve.user|test] [evolve.date|(*)] (glob)
1648 | (No patch available yet, context is not local) 1648 | (No patch available yet, context is not local)
1649 | 1649 |
1650 @ [evolve.node|471f378eab4c] [evolve.rev|(1)] [evolve.short_description|A0] 1650 @ [evolve.node|471f378eab4c] [evolve.rev|(1)] [evolve.short_description|A0]
1651 [evolve.verb|rewritten](description) as [evolve.node|fdf9bde5129a] by [evolve.user|test] [evolve.date|(*)] (glob) 1651 [evolve.verb|rewritten](description) as [evolve.node|fdf9bde5129a] by [evolve.user|test] [evolve.date|(*)] (glob)
1652 (No patch available yet, succ is unknown locally) 1652 (No patch available yet, successor is unknown locally)
1653 1653