Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/tests/test-commit-interactive.t Fri May 03 20:06:03 2019 +0900 +++ b/tests/test-commit-interactive.t Mon May 06 22:10:34 2019 -0400 @@ -775,12 +775,24 @@ +10 +11 +Interactive commit can name a directory instead of files (issue6131) $ mkdir subdir + $ echo a > subdir/a + $ hg ci -d '16 0' -i subdir -Amsubdir <<EOF + > y + > y + > EOF + adding subdir/a + diff --git a/subdir/a b/subdir/a + new file mode 100644 + examine changes to 'subdir/a'? [Ynesfdaq?] y + + @@ -0,0 +1,1 @@ + +a + record this change to 'subdir/a'? [Ynesfdaq?] y + $ cd subdir - $ echo a > a - $ hg ci -d '16 0' -Amsubdir - adding subdir/a $ echo a >> a $ hg commit -i -d '16 0' -m subdir-change a <<EOF