comparison tests/test-topic-change.t @ 3105:f5d472b7e800 mercurial-4.3

test-compat: revert output changes related to temporary amend commit This backed out changeset 06844693bb21 and other related changes.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 20 Oct 2017 19:32:18 +0200
parents 6604d96fc73c
children 9c9c8c1eeb93 85cdce113c2c
comparison
equal deleted inserted replaced
3104:3dd5a6f83f8b 3105:f5d472b7e800
221 221
222 $ hg topic wat 222 $ hg topic wat
223 $ hg ci --amend 223 $ hg ci --amend
224 active topic 'wat' grew its first changeset 224 active topic 'wat' grew its first changeset
225 $ hg glog -r . 225 $ hg glog -r .
226 @ 28:61470c956807 {wat} 226 @ 29:61470c956807 {wat}
227 | Added h () 227 | Added h ()
228 | 228 |
229 229
230 Clear the current topic and amending 230 Clear the current topic and amending
231 231
232 $ hg topic --clear 232 $ hg topic --clear
233 $ hg ci --amend 233 $ hg ci --amend
234 $ hg glog -r . 234 $ hg glog -r .
235 @ 29:b584fa49f42e {} 235 @ 31:b584fa49f42e {}
236 | Added h () 236 | Added h ()
237 | 237 |
238 238
239 When the changeset does not has a topic but we have an active topic 239 When the changeset does not has a topic but we have an active topic
240 240
241 $ hg topic watwat 241 $ hg topic watwat
242 marked working directory as topic: watwat 242 marked working directory as topic: watwat
243 $ hg ci --amend 243 $ hg ci --amend
244 active topic 'watwat' grew its first changeset 244 active topic 'watwat' grew its first changeset
245 $ hg glog -r . 245 $ hg glog -r .
246 @ 30:a24c31c35013 {watwat} 246 @ 33:a24c31c35013 {watwat}
247 | Added h () 247 | Added h ()
248 | 248 |
249 249
250 Testing changing topics on public changeset 250 Testing changing topics on public changeset
251 ------------------------------------------- 251 -------------------------------------------
267 Testing the bookmark movement 267 Testing the bookmark movement
268 ----------------------------- 268 -----------------------------
269 269
270 $ hg bookmark book 270 $ hg bookmark book
271 $ hg glog 271 $ hg glog
272 @ 30:a24c31c35013 {watwat} 272 @ 33:a24c31c35013 {watwat}
273 | Added h (book) 273 | Added h (book)
274 | 274 |
275 o 26:7c76c271395f {bar} 275 o 26:7c76c271395f {bar}
276 | Added g () 276 | Added g ()
277 | 277 |
299 clearing empty topic "watwat" 299 clearing empty topic "watwat"
300 active topic 'watwat' is now empty 300 active topic 'watwat' is now empty
301 changed topic on 1 changes 301 changed topic on 1 changes
302 302
303 $ hg glog 303 $ hg glog
304 @ 31:c48d6d71b2d9 {} 304 @ 34:c48d6d71b2d9 {}
305 | Added h (book) 305 | Added h (book)
306 | 306 |
307 o 26:7c76c271395f {bar} 307 o 26:7c76c271395f {bar}
308 | Added g () 308 | Added g ()
309 | 309 |
331 $ hg bookmark bookboo 331 $ hg bookmark bookboo
332 $ hg topic -r . movebook 332 $ hg topic -r . movebook
333 switching to topic movebook 333 switching to topic movebook
334 changed topic on 1 changes 334 changed topic on 1 changes
335 $ hg glog 335 $ hg glog
336 @ 32:1b83d11095b9 {movebook} 336 @ 35:1b83d11095b9 {movebook}
337 | Added h (book bookboo) 337 | Added h (book bookboo)
338 | 338 |
339 o 26:7c76c271395f {bar} 339 o 26:7c76c271395f {bar}
340 | Added g () 340 | Added g ()
341 | 341 |
372 $ hg topic -r . watwat 372 $ hg topic -r . watwat
373 switching to topic watwat 373 switching to topic watwat
374 changed topic on 1 changes 374 changed topic on 1 changes
375 375
376 $ hg glog 376 $ hg glog
377 @ 33:894983f69e69 {watwat} 377 @ 36:894983f69e69 {watwat}
378 | Added g () 378 | Added g ()
379 | 379 |
380 | o 32:1b83d11095b9 {movebook} 380 | o 35:1b83d11095b9 {movebook}
381 | | Added h (book bookboo) 381 | | Added h (book bookboo)
382 | | 382 | |
383 | x 26:7c76c271395f {bar} 383 | x 26:7c76c271395f {bar}
384 |/ Added g () 384 |/ Added g ()
385 | 385 |
400 | 400 |
401 o 8:86a186070af2 {} 401 o 8:86a186070af2 {}
402 Added a () 402 Added a ()
403 403
404 $ hg phase -r . 404 $ hg phase -r .
405 33: secret 405 36: secret