Summary:
These tests just needed to switch to a modern, non-revlog repo format.
Remaining tests using the old status have the same problem, but are trickier to migrate due more complicated client/server interactions.
Reviewed By: quark-zju
Differential Revision: D42748903
fbshipit-source-id: 979720cff4e72de586c90d922694d4d88c130b2f
Summary:
Now that Rust creates and persists a TreeState, let's change Python to
use it instead of creating it's own.
Differential Revision: D39715993
fbshipit-source-id: 1e40df3b8f4710068b563b3e2802935b1d829e8b
Summary:
Most tests pass with the Rust status command enabled. Let's enable it,
then just turn it off for the still broken tests.
Reviewed By: jordanwebster
Differential Revision: D39487346
fbshipit-source-id: a212868415b4ea30116055b3279a139bdaa25aed
Summary:
Some tests removes the current directory, making `os.getcwd()` raise.
In those cases, just ignore the `os.getcwd()` error to make debugruntest
compatible with the tests.
Differential Revision: D38815651
fbshipit-source-id: 58f22ac8116e1a36e206904b6219aaed83b77c9a
Summary:
This warning was printed by old checkout, keeping it in nativecheckout too
The warning tells user that current working directory was removed during checkout
This diff also makes test-update-names.t to use nativecheckout. Otherwise last test fails on remote repo, because pyworker does not emit the deleted cwd warning
Reviewed By: quark-zju
Differential Revision: D26558188
fbshipit-source-id: 1f6ea2ea1ac7358ce2f06fed25069656481b30e6
Summary: After this update, test-update-names.t tests are using native checkout when congfig is set
Reviewed By: quark-zju
Differential Revision: D26558186
fbshipit-source-id: f70f65344b5f2209f313e3edd5fd7f541318459a
Summary:
This diff marks **ALL** mercurial tests requiring Python 2 feature.
After you fixes some tests, simply remove the `py2` feature requirement and that tests will be continuously run after your diff is landed.
To bypass this feature requirement, run the tests command with `HGTEST_FORCE_PY2=1`. For example:
```
HGTEST_FORCE_PY2=1 buck test //eden/scm/tests:hg_run_tests
```
or
```
HGTEST_FORCE_PY2=1 python run-tests.py
```
----
Basically this diff are created with the following commands:
```
$ sed -i 's/import feature\(.*\)$/import feature\1\n\nfeature.require(["py2"])/' test-*-t.py
$ sed -i '1s/^/#require py2\n/' test-*.t
$ ls | grep -P "^test.*(?<\!-t)\.py$" > list && vim -p $(cat list)
# manually adding feature requires for these Python tests.
```
(Note: this ignores all push blocking failures!)
ignore-conflict-markers
Reviewed By: singhsrb
Differential Revision: D19655148
fbshipit-source-id: 985e3ccb4010cc559049f1d89f8909bc2d9b5e20
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
Summary:
In preparation for merging fb-mercurial sources to the Eden repository,
move everything from the top-level directory into an `eden/scm`
subdirectory.