Commit Graph

3 Commits

Author SHA1 Message Date
Mateusz Kwapich
47cc0ea0b8 phabdiff: improve the {tasks} template
Summary:
There were some comments under my diff after landing. Included:

 * Old "Task ID" syntax
 * Removing the "T" prefix
 * Fixing the copypasted docstring

Test Plan: tests

Reviewers: #sourcecontrol, rmcelroy, ttung

Reviewed By: rmcelroy

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

Signature: t1:2765417:1450294877:4a50ecfdb1fb295ffaf01ecee6fe257b52e359bc
2015-12-16 15:53:53 -08:00
Mateusz Kwapich
77c008fae4 phabdiff: add {tasks} template
Summary: .

Test Plan: see tests

Reviewers: #sourcecontrol, rmcelroy, ttung

Reviewed By: rmcelroy

Subscribers: cdelahousse, mbasmanova

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

Tasks: 9408540

Signature: t1:2755231:1450115291:b0cbdbf7a3b02e614e4268ecc1b2ee837917aabd
2015-12-14 11:20:43 -08:00
Mateusz Kwapich
4f207dd263 Added phabdiff template mapping
Summary:
The phabdiff template mapping returns the phabricator diff id for the commit
(based on commit message).

for example:
$ hg log -r master --template '{phabdiff}\n'
D1485506

Test Plan:  - unit tests addded

Reviewers: sid0, durham

Reviewed By: durham

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

Tasks: 5124920
2014-10-16 17:43:58 -07:00