--- a/tests/test-status.t Wed Jan 11 09:26:47 2012 -0600
+++ b/tests/test-status.t Thu Jan 12 00:49:45 2012 +0900
@@ -272,3 +272,26 @@
modified
R removed
C deleted
+
+ $ cd ..
+
+hg status of binary file starting with '\1\n', a separator for metadata:
+
+ $ hg init repo5
+ $ cd repo5
+ $ printf '\1\nfoo' > 010a
+ $ hg ci -q -A -m 'initial checkin'
+ $ hg status -A
+ C 010a
+
+ $ printf '\1\nbar' > 010a
+ $ hg status -A
+ M 010a
+ $ hg ci -q -m 'modify 010a'
+ $ hg status -A --rev 0:1
+ M 010a
+
+ $ touch empty
+ $ hg ci -q -A -m 'add another file'
+ $ hg status -A --rev 1:2 010a
+ C 010a