comparison tests/test-fixup.t @ 6194:1e7190adffca

fixup: use compat.InputError for invalid user input
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 06 Mar 2022 17:46:33 +0300
parents cd07d6bd4e2a
children 9e0aa8929206
comparison
equal deleted inserted replaced
6193:e58e4af1a730 6194:1e7190adffca
305 305
306 testing error cases 306 testing error cases
307 307
308 $ hg fixup tip --abort 308 $ hg fixup tip --abort
309 abort: cannot specify a revision with --abort 309 abort: cannot specify a revision with --abort
310 [255] 310 [10]
311 311
312 $ hg fixup -r tip --continue 312 $ hg fixup -r tip --continue
313 abort: cannot specify a revision with --continue 313 abort: cannot specify a revision with --continue
314 [255] 314 [10]
315 315
316 $ hg fixup 316 $ hg fixup
317 abort: please specify a revision to fixup 317 abort: please specify a revision to fixup
318 [255] 318 [10]
319 319
320 $ hg fixup tip 320 $ hg fixup tip
321 nothing changed 321 nothing changed
322 [1] 322 [1]
323 323
340 (use 'hg fixup -h' to show more help) 340 (use 'hg fixup -h' to show more help)
341 [10] 341 [10]
342 342
343 $ hg fixup :10 -r 5 343 $ hg fixup :10 -r 5
344 abort: please specify just one revision 344 abort: please specify just one revision
345 [255] 345 [10]
346 346
347 $ cd .. 347 $ cd ..
348 348
349 Multiple branches 349 Multiple branches
350 ----------------- 350 -----------------