1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-23 05:50:54 +01:00

fixes local svn branch name detection

Summary: Corrects relative vs absolute branch name when using 'arc commit'

Test Plan: 'arc commit' on a release branch gave an error before making the change (change was generated from 'branches/yyy' but working copy root is 'https://xxx/branches/yyy', now it does not.

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, aran

Differential Revision: https://secure.phabricator.com/D6743
This commit is contained in:
Firehed 2013-08-13 14:16:14 -07:00 committed by epriestley
parent c11b9e1af9
commit acb90fd9e7

View file

@ -321,7 +321,7 @@ EOTEXT
}
$revision_source = idx($revision, 'branch');
$current_source = $repository_api->getSourceControlPath();
$current_source = $repository_api->getBranchName();
if ($revision_source != $current_source) {
$confirm[] =
"Revision 'D{$revision_id}: {$revision_title}' was generated from ".