Commit Graph

6 Commits

Author SHA1 Message Date
Laurent Charignon
3d3817831c fix-test: fix quoting in [...] expressions
Summary:
We changed from [[ ]] to [ ] without adding the quoting and @mitrandir
pointed out that it could cause issues.

Test Plan: tests run

Reviewers: #sourcecontrol, ttung

Subscribers: mitrandir

Differential Revision: https://phabricator.fb.com/D2820161
2016-01-11 10:45:36 -08:00
Laurent Charignon
068feee7db test: make test-pullcreatemarkers use createmarkers permission
Summary: This way we actually test against the config that we ship to our users.

Test Plan: Test pass and expectedly changes a little bit.

Reviewers: #sourcecontrol, ttung

Differential Revision: https://phabricator.fb.com/D2819095
2016-01-11 10:27:48 -08:00
Laurent Charignon
9d1997a454 cleanup: replace [[ ... ]] by [ ... ]
Summary: This diff is part of a series to cleanup fb-hgext and make it pass check-code.

Test Plan: all tests pass

Reviewers: #sourcecontrol, ttung

Differential Revision: https://phabricator.fb.com/D2812197
2016-01-07 18:30:24 -08:00
Laurent Charignon
da37a505a8 cleanup: fix whitespaces in expression and trailing whitespaces
Summary: This diff is part of a series to cleanup fb-hgext and make it pass check-code.

Test Plan: all tests pass

Reviewers: #sourcecontrol, ttung

Differential Revision: https://phabricator.fb.com/D2812015
2016-01-07 18:30:24 -08:00
Laurent Charignon
1584b3e9fb tests: fix test-pull-createmarkers.t dummyssh path 2015-12-23 10:41:51 -08:00
Laurent Charignon
4502578fbf pullcreatemarkers: add a new extension to create markers on pull
Summary:
The goal of this extensions is to create obsolescence markers locally for
commits previously landed.
It uses the phabricator revision number in the commit message to detect the
relationship between a draft commit and its landed counterpart.
Thanks to these markers, less information is displayed and rebases can have
less irrelevant conflicts.

Test Plan: Added a new test

Reviewers: pyd, ericsumner, durham

Differential Revision: https://phabricator.fb.com/D2665923
2015-12-10 10:31:47 -08:00