Mercurial > hg
diff tests/test-status.t @ 27749:215b47449e47
context: check for differing flags a little earlier
This makes it clearer that a unchanged file whose flags have changed
will be reported as a modification. Also test this.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 12 Jan 2016 13:10:31 -0800 |
parents | 54522bbe1597 |
children | 2d3837a4bded |
line wrap: on
line diff
--- a/tests/test-status.t Tue Jan 12 13:09:54 2016 -0800 +++ b/tests/test-status.t Tue Jan 12 13:10:31 2016 -0800 @@ -388,6 +388,17 @@ $ hg revert -r 0 . reverting file + +reverted and committed file with changed flag should appear modified + + $ hg co -C . + 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + $ chmod +x file + $ hg ci -m 'change flag' + $ hg status -A --rev 1 --rev 2 + M file + $ hg diff -r 1 -r 2 + #endif hg status of binary file starting with '\1\n', a separator for metadata: