mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
Detect SVN 1.6 "tree-conflicts".
This commit is contained in:
parent
efcd70c2d7
commit
bdde006484
1 changed files with 6 additions and 0 deletions
|
@ -132,6 +132,12 @@ class ArcanistSubversionAPI extends ArcanistRepositoryAPI {
|
||||||
throw new Exception("Unrecognized item status '{$item}'.");
|
throw new Exception("Unrecognized item status '{$item}'.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This is new in or around Subversion 1.6.
|
||||||
|
$tree_conflicts = (string)($entry->{'wc-status'}[0]['tree-conflicted']);
|
||||||
|
if ($tree_conflicts) {
|
||||||
|
$mask |= self::FLAG_CONFLICT;
|
||||||
|
}
|
||||||
|
|
||||||
$files[$path] = $mask;
|
$files[$path] = $mask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue