Mercurial > hg
diff tests/test-status.t @ 21972:8864528874f7 stable
status: don't drop unknown and ignored information (issue4321)
By the magic of code movement, we ended up dropping unknown and ignored
information when comparing the working directory with a non-parent revision.
Let's stop doing it and add a test.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 01 Aug 2014 12:49:00 -0700 |
parents | 64fe488b5179 |
children | 1f72226064b8 |
line wrap: on
line diff
--- a/tests/test-status.t Fri Aug 01 13:13:24 2014 -0700 +++ b/tests/test-status.t Fri Aug 01 12:49:00 2014 -0700 @@ -280,6 +280,12 @@ R removed C deleted +status against non-parent with unknown file (issue4321) + + $ touch unknown + $ hg status --rev 0 unknown + ? unknown + status of removed but existing in working directory. "? removed" should not be included: