mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 23:02:41 +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:
parent
c11b9e1af9
commit
acb90fd9e7
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ EOTEXT
|
||||||
}
|
}
|
||||||
|
|
||||||
$revision_source = idx($revision, 'branch');
|
$revision_source = idx($revision, 'branch');
|
||||||
$current_source = $repository_api->getSourceControlPath();
|
$current_source = $repository_api->getBranchName();
|
||||||
if ($revision_source != $current_source) {
|
if ($revision_source != $current_source) {
|
||||||
$confirm[] =
|
$confirm[] =
|
||||||
"Revision 'D{$revision_id}: {$revision_title}' was generated from ".
|
"Revision 'D{$revision_id}: {$revision_title}' was generated from ".
|
||||||
|
|
Loading…
Reference in a new issue