mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
00ecfbb16c
Summary: A lot of tests are passing with the new test runner. This is done by `./edit-feature-header.py debugruntest` and paste the `Passed:` section from `hg debugruntest -v test-*.t` output. Note: some tests fail with this but pass with debugruntest. They will be investigated as follow-up. Differential Revision: D34931992 fbshipit-source-id: 99abc3d9800bb1dd3487dbfa15d715c0bd3ba878
40 lines
980 B
Perl
40 lines
980 B
Perl
#chg-compatible
|
|
#debugruntest-compatible
|
|
|
|
$ newrepo
|
|
$ setconfig diff.git=1 diff.hashbinary=1
|
|
|
|
>>> _ = open('a.bin', 'wb').write(b'\0\1')
|
|
$ hg commit -m A -A a.bin
|
|
|
|
>>> _ = open('a.bin', 'wb').write(b'\0\2')
|
|
|
|
$ hg diff
|
|
diff --git a/a.bin b/a.bin
|
|
Binary file a.bin has changed to 9ac521e32f8e19473bc914e1af8ae423a6d8c122
|
|
|
|
$ HGPLAIN=1 hg diff
|
|
diff --git a/a.bin b/a.bin
|
|
Binary file a.bin has changed to 9ac521e32f8e19473bc914e1af8ae423a6d8c122
|
|
|
|
$ HGPLAIN=1 HGPLAINEXCEPT=diffopts hg diff
|
|
diff --git a/a.bin b/a.bin
|
|
Binary file a.bin has changed to 9ac521e32f8e19473bc914e1af8ae423a6d8c122
|
|
|
|
$ hg rm a.bin -f
|
|
|
|
$ hg diff
|
|
diff --git a/a.bin b/a.bin
|
|
deleted file mode 100644
|
|
Binary file a.bin has changed
|
|
|
|
$ HGPLAIN=1 hg diff
|
|
diff --git a/a.bin b/a.bin
|
|
deleted file mode 100644
|
|
Binary file a.bin has changed
|
|
|
|
$ HGPLAIN=1 HGPLAINEXCEPT=diffopts hg diff
|
|
diff --git a/a.bin b/a.bin
|
|
deleted file mode 100644
|
|
Binary file a.bin has changed
|