Commit Graph

5 Commits

Author SHA1 Message Date
Jun Wu
2791a7eaab phabdiff: fix empty reviewers template
Summary:
D8560049 made `{reviewers}` work with commit template, but it breaks empty
`committemplate.reviewers` with  `abort: "" not in template map`. This diff
fixes it.

Reviewed By: DurhamG

Differential Revision: D8596389

fbshipit-source-id: e1c046d59097181ef5c8d56a1cffc7c2407f0ba5
2018-06-22 15:50:39 -07:00
Jun Wu
5020628795 phabdiff: make reviewers template keyword work with working copy
Summary:
The template keyword only works for committed changesets. That conflicts
with committemplate. So special case the working copy case and make it work
if committemplate.reviewers is set.

Reviewed By: liubov-dmitrieva

Differential Revision: D8560049

fbshipit-source-id: 1427d0b72e023741be7012dd6eb4d51b0b595f39
2018-06-21 16:09:48 -07:00
Xiaolong Wang
69161e4c0d add template for fetching reviewers
Summary: as titled, so that we can `hg log -T {reviewers} --rev .`

Reviewed By: quark-zju

Differential Revision: D8389944

fbshipit-source-id: b3b194b7027bc831d5eca42dfcb4300745d6eb12
2018-06-12 20:48:50 -07:00
Jun Wu
1cde63d99c codemod: drop hacks changing PYTHONPATH in tests
Summary:
Now they are unnecessary since `run-tests.py` will set up `PYTONPATH`
correctly.

Differential Revision: D6865042

fbshipit-source-id: ca95314f725968e14349a9d916434aa832c596f9
2018-04-13 21:51:00 -07:00
Kostia Balytskyi
e75b9fc1b1 fb-hgext: move most of hgext3rd and related tests to core
Summary:
This commit moves most of the stuff in hgext3rd and related tests to
hg-crew/hgext and hg-crew/test respectively.

The things that are not moved are the ones which require some more complex
imports.


Depends on D6675309

Test Plan: - tests are failing at this commit, fixes are in the following commits

Reviewers: #sourcecontrol

Differential Revision: https://phabricator.intern.facebook.com/D6675329
2018-01-09 03:03:59 -08:00