Commit Graph

2 Commits

Author SHA1 Message Date
Phil Cohen
df568f4e22 tests: fix the build
Summary: eyes

Reviewed By: singhsrb

Differential Revision: D8716279

fbshipit-source-id: aa214a554455513d5f121560b0c69278e5f8e982
2018-07-02 12:35:48 -07:00
Phil Cohen
05ac4a77f5 tests: modernize test-fb-hgext-fbamend-restack.t
Summary:
This test is 990+ lines and takes 1+ minutes to run on my laptop.

- Use `newrepo` instead of a custom reset function
- Use `enable` and `setconfig`
- Split out the auto-restack part into its own function

Reviewed By: quark-zju

Differential Revision: D8706316

fbshipit-source-id: fb48208e3225b376a0e4d06021ef82e8c4255d08
2018-07-02 11:36:46 -07:00