1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 23:02:41 +01:00

Allow revision numbers prefixed with 'D' in arc commit --revision

Test Plan: Tried `arc commit --revision D123` and it worked.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: 1194
This commit is contained in:
Marek Sapota 2011-12-13 11:18:07 -08:00
parent b5a104765a
commit a89d2537a1

View file

@ -74,7 +74,7 @@ EOTEXT
$repository_api = $this->getRepositoryAPI();
$conduit = $this->getConduit();
$revision_id = $this->getArgument('revision');
$revision_id = $this->normalizeRevisionID($this->getArgument('revision'));
if (!$revision_id) {
$revision_data = $conduit->callMethodSynchronous(