Commit Graph

9 Commits

Author SHA1 Message Date
Tony Tung
2226da3c6e [pull-createmarkers] fix test to match output
Test Plan: passed test

Reviewers: #sourcecontrol, lcharignon

Reviewed By: lcharignon

Subscribers: mitrandir

Differential Revision: https://phabricator.fb.com/D2913021

Signature: t1:2913021:1454964727:a7cafa3812ef3080ebf6b811784aa4013bdfc05a
2016-02-08 15:56:50 -08:00
Tony Tung
c6681e3e6d [pushrebase] change the pushrebase tests to use the PYTHONPATH setup
Summary: Just a bit cleaner.  Also this makes it so pushrebase can source any hypothetically shared code.  Mostly because I'm too lazy to type bundle2hooks=PATH_OF_FILE.

Test Plan: same unit tests pass.

Reviewers: #sourcecontrol, durham

Reviewed By: durham

Subscribers: durham, mitrandir

Differential Revision: https://phabricator.fb.com/D2903928

Signature: t1:2903928:1454648999:81f6cc64f708dc4709640b2a214e1b3dbc11caa5
2016-02-04 22:47:14 -08:00
Durham Goode
245e1ddcd7 pullcreate: update test output
Upstream changed some wording.
2016-01-20 13:40:15 -08:00
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