]> khamidou — GitHub mirrors - arcanist.git/commit
Parse full URIs for "Differential Revision" in Arcanist
authorepriestley <git@epriestley.com>
Tue, 20 Dec 2011 23:05:46 +0000 (15:05 -0800)
committerepriestley <git@epriestley.com>
Wed, 21 Dec 2011 03:57:55 +0000 (19:57 -0800)
commit89cb92a22ca69f10dc0256a11d2756c1290da789
tree8de770a7557e889a18b35995a535eb92b9fc4db2
parent52d14ef8e6ee6ba48a1d65509e6c107384e5dcec
Parse full URIs for "Differential Revision" in Arcanist

Summary:
  - Allow Arcanist to parse either "123", "D123" (existing behaviors) or
"http://phabricator.example.com/D123" (new behavior) values.
  - Drop support for labeling this field "DiffCamp". This should only impact
people trying to update revisions that are more than ~a year old, which should
be very very few.

Test Plan:   - Ran "arc diff" with values "74", "D74", "x74",
"http://local.aphront.com/D74", "http://local.aphront.com/x74". Got the expected
behaviors.

Reviewers: jungejason, btrahan

Reviewed By: jungejason

CC: aran, jungejason
Maniphest Tasks: T54, T692

Differential Revision: 1249
src/differential/commitmessage/ArcanistDifferentialCommitMessage.php
src/differential/commitmessage/__init__.php
src/workflow/diff/ArcanistDiffWorkflow.php