51 o changeset: 0:1f0dee641bb7 |
51 o changeset: 0:1f0dee641bb7 |
52 user: test |
52 user: test |
53 date: Thu Jan 01 00:00:00 1970 +0000 |
53 date: Thu Jan 01 00:00:00 1970 +0000 |
54 summary: add a |
54 summary: add a |
55 |
55 |
|
56 $ hg debugsuccessors |
|
57 7c3bad9141dc d67cd0334eee |
56 $ hg debugconvertobsolete |
58 $ hg debugconvertobsolete |
57 nothing to do |
59 nothing to do |
58 0 obsolete marker converted |
60 0 obsolete marker converted |
|
61 |
|
62 Convert json |
|
63 |
|
64 $ cat > .hg/store/obsoletemarkers << EOF |
|
65 > [ |
|
66 > { |
|
67 > "reason": "import from older format.", |
|
68 > "subjects": [ |
|
69 > "3218406b50ed13480765e7c260669620f37fba6e" |
|
70 > ], |
|
71 > "user": "Pierre-Yves David <pierre-yves.david@ens-lyon.org>", |
|
72 > "date": [ |
|
73 > 1336503323.9768269, |
|
74 > -7200 |
|
75 > ], |
|
76 > "object": "3e03d82708d4da97a92158558dd13386d8f09ad5", |
|
77 > "id": "4743f676eaf3923cb98c921ee06b2e91052c365b" |
|
78 > }, |
|
79 > { |
|
80 > "reason": "import from older format.", |
|
81 > "subjects": [ |
|
82 > "a37154106de358121a32a3dd6ba0281931550515" |
|
83 > ], |
|
84 > "user": "Pierre-Yves David <pierre-yves.david@logilab.fr>", |
|
85 > "date": [ |
|
86 > 1336557472.7875929, |
|
87 > -7200 |
|
88 > ], |
|
89 > "object": "5c722672795c3a2cb94d0cc9a821c394c1475f87", |
|
90 > "id": "1fd90a84b7225d2e3062b7e1b3100aa2e060fc72" |
|
91 > }, |
|
92 > { |
|
93 > "reason": "import from older format.", |
|
94 > "subjects": [ |
|
95 > "dc8d8aa6e8ac490fcafd074d570df0787ee0ee69" |
|
96 > ], |
|
97 > "user": "Pierre-Yves David <pierre-yves.david@logilab.fr>", |
|
98 > "date": [ |
|
99 > 1336557472.784307, |
|
100 > -7200 |
|
101 > ], |
|
102 > "object": "2c3784e102bb34ccc93862af5bd6d609ee30c577", |
|
103 > "id": "7d940c5ee1f886c8a6c0d805b43e522cb3ef7a15" |
|
104 > } |
|
105 > ] |
|
106 > EOF |
|
107 $ hg glog |
|
108 abort: old format of obsolete marker detected! |
|
109 run `hg debugconvertobsolete` once. |
|
110 [255] |
|
111 $ hg debugconvertobsolete --traceback |
|
112 3 obsolete marker converted |
|
113 $ hg debugsuccessors |
|
114 2c3784e102bb dc8d8aa6e8ac |
|
115 3e03d82708d4 3218406b50ed |
|
116 5c722672795c a37154106de3 |
|
117 7c3bad9141dc d67cd0334eee |