1
0
Fork 0
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:
epriestley 2011-03-20 15:06:55 -07:00
parent efcd70c2d7
commit bdde006484

View file

@ -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;
} }