##// END OF EJS Templates
tests: add test for warning on histedit with tagged commits...
Navaneeth Suresh -
r41233:172296c6 default
parent child Browse files
Show More
@@ -481,3 +481,24 b' Attempting to fold a change into a publi'
481 # f, fold = use commit, but combine it with the one above
481 # f, fold = use commit, but combine it with the one above
482 # r, roll = like fold, but discard this commit's description and date
482 # r, roll = like fold, but discard this commit's description and date
483 #
483 #
484
485 $ cd ..
486
487 warn the user on editing tagged commits
488
489 $ hg init issue4017
490 $ cd issue4017
491 $ echo > a
492 $ hg ci -Am 'add a'
493 adding a
494 $ hg tag a
495 $ hg tags
496 tip 1:bd7ee4f3939b
497 a 0:a8a82d372bb3
498 $ hg histedit
499 warning: tags associated with the given changeset will be lost after histedit.
500 do you want to continue (yN)? n
501 abort: histedit cancelled
502
503 [255]
504 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now