Commit Graph

3 Commits

Author SHA1 Message Date
Jun Wu
ddb31755dc test-revset: fix compatibility with Windows
Summary: Set timezone to UTC to produce the same commit hashes.

Reviewed By: sfilipco

Differential Revision: D16501046

fbshipit-source-id: 4d36da07c08a4337ff6b8cb4135eaea22404ad39
2019-07-25 17:43:42 -07:00
Jun Wu
263d95d20f test-revset: fix the test
Summary:
Fix the Python code so the test actually runs.

The test took 143s, and now takes 5.5s.

Reviewed By: ikostia

Differential Revision: D16435791

fbshipit-source-id: 7eac98c371f78a90a5bb528350b9ff17f51a551c
2019-07-24 14:32:26 -07:00
Jun Wu
1fdb83c768 test-revset: auto translate the test
Summary:
This is done via:

  python -m testutil.dott.translate --black --verify test-revset.t
  hg mv --after test-revset.t test-revset-t.py

The test is currently broken (and skipped), though. It will be fixed in the next diff.

Reviewed By: xavierd

Differential Revision: D16452931

fbshipit-source-id: 281d3b9edae86d536d4ed4872dc4e38afcda5589
2019-07-24 14:32:26 -07:00