mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 08:02:24 +03:00
75a8173a10
Summary: Add `#chg-compatible` to 572 tests that seem to pass with chg enabled. This should make them run faster. Reviewed By: xavierd Differential Revision: D18870507 fbshipit-source-id: fe895e733efffc9286cd3d17c7a156c803124395
22 lines
581 B
Raku
22 lines
581 B
Raku
#chg-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
|