Mercurial > hg
comparison tests/test-commit-interactive.t @ 42253:e45c6b153e51 stable
commit: allow --interactive to work again when naming a directory (issue6131)
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 06 May 2019 22:10:34 -0400 |
parents | db72f9f6580e |
children | f802a75da585 |
comparison
equal
deleted
inserted
replaced
42232:29798c9ba5c9 | 42253:e45c6b153e51 |
---|---|
773 8 | 773 8 |
774 9 | 774 9 |
775 +10 | 775 +10 |
776 +11 | 776 +11 |
777 | 777 |
778 Interactive commit can name a directory instead of files (issue6131) | |
778 | 779 |
779 $ mkdir subdir | 780 $ mkdir subdir |
781 $ echo a > subdir/a | |
782 $ hg ci -d '16 0' -i subdir -Amsubdir <<EOF | |
783 > y | |
784 > y | |
785 > EOF | |
786 adding subdir/a | |
787 diff --git a/subdir/a b/subdir/a | |
788 new file mode 100644 | |
789 examine changes to 'subdir/a'? [Ynesfdaq?] y | |
790 | |
791 @@ -0,0 +1,1 @@ | |
792 +a | |
793 record this change to 'subdir/a'? [Ynesfdaq?] y | |
794 | |
780 $ cd subdir | 795 $ cd subdir |
781 $ echo a > a | |
782 $ hg ci -d '16 0' -Amsubdir | |
783 adding subdir/a | |
784 | 796 |
785 $ echo a >> a | 797 $ echo a >> a |
786 $ hg commit -i -d '16 0' -m subdir-change a <<EOF | 798 $ hg commit -i -d '16 0' -m subdir-change a <<EOF |
787 > y | 799 > y |
788 > y | 800 > y |