Mercurial > evolve
annotate tests/test-topic-debugcb.t @ 2903:d16781d7a061
tests: import section in 'test-topic-debugcb.t'
We now have two levels of titles to clarify some aspect of the tests.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 01 Sep 2017 12:02:27 +0200 |
parents | f6e297fda5c6 |
children | 4ae89b5834e6 |
rev | line source |
---|---|
2903
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
1 ================================================== |
2899
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
2 Test for `hg debugconvertbookmark` added by topics |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
3 ================================================== |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
4 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
5 $ . "$TESTDIR/testlib/topic_setup.sh" |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
6 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
7 $ cat << EOF >> $HGRCPATH |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
8 > drawdag=$RUNTESTDIR/drawdag.py |
2899
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
9 > [ui] |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
10 > logtemplate = [{rev}:{node|short}] {desc|firstline}\n\ |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
11 > {if(bookmarks, " bookmark: {join(bookmarks,"\n bookmark:")}\n")}\ |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
12 > {if(topics, " topic: {topics}\n")} |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
13 > EOF |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
14 |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
15 Setting up the things |
2903
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
16 --------------------- |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
17 |
2899
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
18 $ hg init repo |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
19 $ cd repo |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
20 $ echo "Hello" > a |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
21 $ hg commit -Aqm "First commit" |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
22 $ echo "Hello" > b |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
23 $ hg commit -Aqm "Second commit" |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
24 $ hg bookmark "hellos" |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
25 $ hg up 0 -q |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
26 $ echo "Fix 1" > l |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
27 $ hg commit -Aqm "Fixing first" |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
28 $ echo "Fix 2" > m |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
29 $ hg commit -Aqm "Fixing second" |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
30 $ hg bookmark "secondfix" |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
31 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
32 $ hg log -G |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
33 @ [3:b985e4fea4a4] Fixing second |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
34 | bookmark: secondfix |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
35 o [2:8e79b09248c2] Fixing first |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
36 | |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
37 | o [1:50634233706a] Second commit |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
38 |/ bookmark: hellos |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
39 o [0:3caf92e45cfb] First commit |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
40 |
2903
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
41 |
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
42 Generic tests |
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
43 ============= |
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
44 |
2899
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
45 Help for the command |
2903
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
46 -------------------- |
2899
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
47 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
48 $ hg help debugconvertbookmark |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
49 hg debugcb [-b BOOKMARK] [--all] |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
50 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
51 aliases: debugconvertbookmark |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
52 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
53 Converts a bookmark to a topic with the same name. |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
54 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
55 options: |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
56 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
57 -b --bookmark VALUE bookmark to convert to topic |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
58 --all convert all bookmarks to topics |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
59 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
60 (some details hidden, use --verbose to show complete help) |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
61 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
62 Running without any argument |
2903
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
63 ---------------------------- |
2899
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
64 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
65 $ hg debugconvertbookmark |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
66 abort: you must specify either '--all' or '-b' |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
67 [255] |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
68 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
69 Changing a particular bookmark to topic |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
70 ======================================= |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
71 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
72 $ hg debugconvertbookmark -b hellos |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
73 changed topic to "hellos" on 1 revisions |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
74 $ hg log -G |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
75 o [4:ca8825a7eb18] Second commit |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
76 | topic: hellos |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
77 | @ [3:b985e4fea4a4] Fixing second |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
78 | | bookmark: secondfix |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
79 | o [2:8e79b09248c2] Fixing first |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
80 |/ |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
81 o [0:3caf92e45cfb] First commit |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
82 |
2903
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
83 |
2899
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
84 Changing all bookmarks to topic |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
85 =============================== |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
86 |
2903
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
87 Simple test |
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
88 ----------- |
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
89 |
2899
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
90 $ hg debugconvertbookmark --all |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
91 switching to topic secondfix |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
92 changed topic to "secondfix" on 2 revisions |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
93 $ hg log -G |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
94 @ [6:6efc0524f97a] Fixing second |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
95 | topic: secondfix |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
96 o [5:0a4244c62a16] Fixing first |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
97 | topic: secondfix |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
98 | o [4:ca8825a7eb18] Second commit |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
99 |/ topic: hellos |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
100 o [0:3caf92e45cfb] First commit |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
101 |
2903
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
102 |
2899
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
103 Trying with multiple bookmarks on a single changeset |
2903
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
104 ---------------------------------------------------- |
2899
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
105 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
106 $ echo "multiple bookmarks" >> m |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
107 $ hg commit -Aqm "Trying multiple bookmarks" |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
108 $ hg bookmark book1 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
109 $ hg bookmark book2 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
110 $ hg log -G |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
111 @ [7:7c46b4bbdda3] Trying multiple bookmarks |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
112 | bookmark: book1 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
113 | bookmark:book2 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
114 | topic: secondfix |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
115 o [6:6efc0524f97a] Fixing second |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
116 | topic: secondfix |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
117 o [5:0a4244c62a16] Fixing first |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
118 | topic: secondfix |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
119 | o [4:ca8825a7eb18] Second commit |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
120 |/ topic: hellos |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
121 o [0:3caf92e45cfb] First commit |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
122 |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
123 $ hg debugconvertbookmark --all |
2900
1928e9c802dd
convertbookmark: add logic to skip revisions with multiple bookmarks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2899
diff
changeset
|
124 skipping '7' as it has multiple bookmarks on it |
2899
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
125 $ hg log -G |
2900
1928e9c802dd
convertbookmark: add logic to skip revisions with multiple bookmarks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2899
diff
changeset
|
126 @ [7:7c46b4bbdda3] Trying multiple bookmarks |
1928e9c802dd
convertbookmark: add logic to skip revisions with multiple bookmarks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2899
diff
changeset
|
127 | bookmark: book1 |
1928e9c802dd
convertbookmark: add logic to skip revisions with multiple bookmarks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2899
diff
changeset
|
128 | bookmark:book2 |
1928e9c802dd
convertbookmark: add logic to skip revisions with multiple bookmarks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2899
diff
changeset
|
129 | topic: secondfix |
1928e9c802dd
convertbookmark: add logic to skip revisions with multiple bookmarks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2899
diff
changeset
|
130 o [6:6efc0524f97a] Fixing second |
1928e9c802dd
convertbookmark: add logic to skip revisions with multiple bookmarks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2899
diff
changeset
|
131 | topic: secondfix |
1928e9c802dd
convertbookmark: add logic to skip revisions with multiple bookmarks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2899
diff
changeset
|
132 o [5:0a4244c62a16] Fixing first |
1928e9c802dd
convertbookmark: add logic to skip revisions with multiple bookmarks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2899
diff
changeset
|
133 | topic: secondfix |
2899
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
134 | o [4:ca8825a7eb18] Second commit |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
135 |/ topic: hellos |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
136 o [0:3caf92e45cfb] First commit |
32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
137 |
2903
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
138 |
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
139 Two bookmarks on two different topological branches |
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
140 --------------------------------------------------- |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
141 |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
142 $ cd .. |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
143 $ rm -rf repo |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
144 $ hg init setup1 |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
145 $ cd setup1 |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
146 $ echo "Hello" > A |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
147 $ hg commit -Aqm "A" |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
148 $ echo "Hello" > B |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
149 $ hg commit -Aqm "B" |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
150 $ echo "Hello" > C |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
151 $ hg commit -Aqm "C" |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
152 $ echo "Hello" > D |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
153 $ hg commit -Aqm "D" |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
154 $ hg up 'desc(B)' |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
155 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
156 $ echo "Hello" > E |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
157 $ hg commit -Aqm "E" |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
158 $ echo "Hello" > F |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
159 $ hg commit -Aqm "F" |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
160 $ hg bookmark -r 'desc(D)' bar |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
161 $ hg bookmark -r 'desc(F)' foo |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
162 |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
163 $ hg log -G |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
164 @ [5:5a63fc519ddc] F |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
165 | bookmark: foo |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
166 o [4:a9fc8fb0c70c] E |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
167 | |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
168 | o [3:e92ae92e366f] D |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
169 | | bookmark: bar |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
170 | o [2:9cc6a71c9557] C |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
171 |/ |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
172 o [1:a7922543592c] B |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
173 | |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
174 o [0:fc58adec4bcd] A |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
175 |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
176 $ hg debugconvertbookmark --all |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
177 changed topic to "bar" on 2 revisions |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
178 switching to topic foo |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
179 changed topic to "foo" on 2 revisions |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
180 $ hg log -G |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
181 @ [9:994cbef2c2d2] F |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
182 | topic: foo |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
183 o [8:b9d8ef5d5b8a] E |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
184 | topic: foo |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
185 | o [7:e8ba703ef9ab] D |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
186 | | topic: bar |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
187 | o [6:6307829aaf11] C |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
188 |/ topic: bar |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
189 o [1:a7922543592c] B |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
190 | |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
191 o [0:fc58adec4bcd] A |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
192 |
2903
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
193 |
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
194 Two bookmarks on top of each other |
d16781d7a061
tests: import section in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2902
diff
changeset
|
195 ---------------------------------- |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
196 |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
197 $ cd .. |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
198 $ rm -rf setup1 |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
199 $ hg init setup2 |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
200 $ cd setup2 |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
201 $ echo "Hello" > A |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
202 $ hg commit -Aqm "A" |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
203 $ hg phase --public . |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
204 $ echo "Hello" > B |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
205 $ hg commit -Aqm "B" |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
206 $ echo "Hello" > C |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
207 $ hg commit -Aqm "C" |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
208 $ hg bookmark -r . bar |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
209 $ echo "Hello" > D |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
210 $ hg commit -Aqm "D" |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
211 $ echo "Hello" > E |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
212 $ hg commit -Aqm "E" |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
213 $ hg bookmark -r . foo |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
214 |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
215 $ hg log -G |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
216 @ [4:ef9d596cf6ea] E |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
217 | bookmark: foo |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
218 o [3:e92ae92e366f] D |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
219 | |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
220 o [2:9cc6a71c9557] C |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
221 | bookmark: bar |
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
222 o [1:a7922543592c] B |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
223 | |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
224 o [0:fc58adec4bcd] A |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
225 |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
226 |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
227 XXX: this should bot only put topic 'foo' on 3,4 but also 'bar' on 0,1,2 |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
228 |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
229 $ hg debugconvertbookmark --all |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
230 switching to topic foo |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
231 changed topic to "foo" on 2 revisions |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
232 |
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
233 $ hg log -G |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
234 @ [6:e2bbb25b8882] E |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
235 | topic: foo |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
236 o [5:71bced29cbae] D |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
237 | topic: foo |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
238 o [2:9cc6a71c9557] C |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
239 | bookmark: bar |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
240 o [1:a7922543592c] B |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
241 | |
2902
f6e297fda5c6
test: avoid using debugdrawdag in 'test-topic-debugcb.t'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2901
diff
changeset
|
242 o [0:fc58adec4bcd] A |
2901
52e6b28704a7
tests: add more tests for debugconvertbookmark
Pulkit Goyal <7895pulkit@gmail.com>
parents:
2900
diff
changeset
|
243 |