Summary: See discussion in D6893. Different versions of `svn` do different stuff, just ignore any possible error here.
Test Plan: Ran unit tests.
Reviewers: andrewjcg, btrahan
Reviewed By: andrewjcg
CC: aran
Differential Revision: https://secure.phabricator.com/D6946
if ($api instanceof ArcanistSubversionAPI) {
// Upgrade the repository so that the test will still pass if the local
// `svn` is newer than the `svn` which created the repository.
- $api->execxLocal('upgrade');
+
+ // NOTE: Some versions of Subversion (1.7.x?) exit with an error code on
+ // a no-op upgrade, although newer versions do not. We just ignore the
+ // error here; if it's because of an actual problem we'll hit an error
+ // shortly anyway.
+ $api->execManualLocal('upgrade');
}
$this->assertCorrectState($test, $api);