Mercurial > public > mercurial-scm > hg-stable
diff tests/test-amend.t @ 34975:5f40efa472db stable
amend: do not drop missing files (issue5732)
samefile() can be wrong since wctx.manifest() does not include missing files,
whereas missing files should be preserved on commit.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 04 Nov 2017 23:48:19 +0900 |
parents | 0ba3b928f9a9 |
children | ee64e677c3cf |
line wrap: on
line diff
--- a/tests/test-amend.t Sat Nov 04 23:45:59 2017 +0900 +++ b/tests/test-amend.t Sat Nov 04 23:48:19 2017 +0900 @@ -268,8 +268,6 @@ clean/modified/removed/added states of the amended revision -BROKEN: missing files are removed - $ hg status --all --change . 'glob:content1_*_content1-tracked' C content1_content1_content1-tracked C content1_content2_content1-tracked @@ -297,7 +295,7 @@ $ hg status --all --change . 'glob:missing_content2_*' A missing_content2_content2-tracked A missing_content2_content3-tracked - A missing_content2_missing-tracked (false !) + A missing_content2_missing-tracked $ hg status --all --change . 'glob:missing_missing_*' A missing_missing_content3-tracked