comparison tests/test-topic-tutorial.t @ 5754:03410b04cf10 mercurial-5.6

tests: back out changeset 59b2be90e9fd
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 28 Jan 2021 18:57:48 +0800
parents 73cb6cafc930
children 08c30eef85d3
comparison
equal deleted inserted replaced
5753:f60f1ded1a20 5754:03410b04cf10
486 $ hg update food 486 $ hg update food
487 switching to topic food 487 switching to topic food
488 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 488 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
489 489
490 $ hg rebase 490 $ hg rebase
491 rebasing 1:13900241408b food "adding condiments" 491 rebasing 1:13900241408b "adding condiments" (food)
492 merging shopping 492 merging shopping
493 switching to topic food 493 switching to topic food
494 rebasing 2:287de11b401f food "adding fruits" 494 rebasing 2:287de11b401f "adding fruits" (food)
495 merging shopping 495 merging shopping
496 496
497 $ hg log --graph 497 $ hg log --graph
498 @ changeset: 5:2d50db8b5b4c 498 @ changeset: 5:2d50db8b5b4c
499 | tag: tip 499 | tag: tip
1053 penwidth=2.0]; 1053 penwidth=2.0];
1054 } 1054 }
1055 #endif 1055 #endif
1056 1056
1057 $ hg rebase 1057 $ hg rebase
1058 rebasing 6:183984ef46d1 tools "Adding hammer" 1058 rebasing 6:183984ef46d1 "Adding hammer" (tools)
1059 merging shopping 1059 merging shopping
1060 switching to topic tools 1060 switching to topic tools
1061 rebasing 7:cffff85af537 tools "Adding saw" 1061 rebasing 7:cffff85af537 "Adding saw" (tools)
1062 merging shopping 1062 merging shopping
1063 rebasing 8:34255b455dac tools "Adding drill" 1063 rebasing 8:34255b455dac "Adding drill" (tools)
1064 merging shopping 1064 merging shopping
1065 1065
1066 But what about the other topic? You can use 'hg topics --verbose' to see 1066 But what about the other topic? You can use 'hg topics --verbose' to see
1067 information about all the topics: 1067 information about all the topics:
1068 1068
1085 Even after a rebase, pushing all active topics at the same time would publish 1085 Even after a rebase, pushing all active topics at the same time would publish
1086 them to the default branch, and then mercurial would complain about the 1086 them to the default branch, and then mercurial would complain about the
1087 multiple *public* heads it would create on that branch: 1087 multiple *public* heads it would create on that branch:
1088 1088
1089 $ hg rebase -b drinks 1089 $ hg rebase -b drinks
1090 rebasing 9:8dfa45bd5e0c drinks "Adding apple juice" 1090 rebasing 9:8dfa45bd5e0c "Adding apple juice" (drinks)
1091 merging shopping 1091 merging shopping
1092 switching to topic drinks 1092 switching to topic drinks
1093 rebasing 10:70dfa201ed73 drinks "Adding orange juice" 1093 rebasing 10:70dfa201ed73 "Adding orange juice" (drinks)
1094 merging shopping 1094 merging shopping
1095 switching to topic tools 1095 switching to topic tools
1096 1096
1097 $ hg push 1097 $ hg push
1098 pushing to $TESTTMP/server (glob) 1098 pushing to $TESTTMP/server (glob)
1775 1775
1776 $ hg up s4 1776 $ hg up s4
1777 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 1777 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1778 1778
1779 $ hg rebase 1779 $ hg rebase
1780 rebasing 19:d5c51ee5762a tools "Adding saw" 1780 rebasing 19:d5c51ee5762a "Adding saw" (tools)
1781 merging shopping 1781 merging shopping
1782 rebasing 20:bae3758e46bf tools "Adding drill" 1782 rebasing 20:bae3758e46bf "Adding drill" (tools)
1783 merging shopping 1783 merging shopping
1784 1784
1785 $ hg stack 1785 $ hg stack
1786 ### topic: tools 1786 ### topic: tools
1787 ### target: default (branch), 2 behind 1787 ### target: default (branch), 2 behind