comparison tests/test-prune.t @ 2290:a36a8c6a09ac

ui: change the hidden revision error message It now display the same details than the warning when the working directory parent become obsolete like: $ hg update 0 abort: hidden revision '0' (successor: f301a99bd857)! $ hg up 1 abort: hidden revision '1' (pruned)! $ hg update 0 abort: hidden revision '0' (successors: 91311af6da10, 70653776ec4c)!
author Boris Feld <boris.feld@octobus.net>
date Fri, 28 Apr 2017 16:56:09 +0200
parents 9f42f819267b
children 7263463ae79a 0fa7971071b1 a8fea2ae3c0b
comparison
equal deleted inserted replaced
2289:61d073590fb7 2290:a36a8c6a09ac
303 working directory now at d62d843c9a01 303 working directory now at d62d843c9a01
304 bookmark 'todelete' deleted 304 bookmark 'todelete' deleted
305 1 changesets pruned 305 1 changesets pruned
306 $ hg id -ir dcbb326fdec2 306 $ hg id -ir dcbb326fdec2
307 abort: hidden revision 'dcbb326fdec2'! 307 abort: hidden revision 'dcbb326fdec2'!
308 (use --hidden to access hidden revisions) 308 (use --hidden to access hidden revisions; pruned)
309 [255] 309 [255]
310 $ hg id -ir d62d843c9a01 310 $ hg id -ir d62d843c9a01
311 d62d843c9a01 311 d62d843c9a01
312 $ hg bookmarks 312 $ hg bookmarks
313 B 10:ff43616e5d0f 313 B 10:ff43616e5d0f
337 bookmark 'delete' deleted 337 bookmark 'delete' deleted
338 3 changesets pruned 338 3 changesets pruned
339 $ hg tag --remove --local c 339 $ hg tag --remove --local c
340 $ hg id -ir 6:2702dd0c91e7 340 $ hg id -ir 6:2702dd0c91e7
341 abort: hidden revision '6'! 341 abort: hidden revision '6'!
342 (use --hidden to access hidden revisions) 342 (use --hidden to access hidden revisions; pruned)
343 [255] 343 [255]
344 344
345 $ hg debugobsstorestat 345 $ hg debugobsstorestat
346 markers total: 7 346 markers total: 7
347 for known precursors: 7 347 for known precursors: 7