Fix repository URI generation for SVN commit identifiers represented with integer...
commit1fc04e238f1d656c0a1cbd9592a4a3253b5319cc
authorepriestley <git@epriestley.com>
Fri, 3 Jun 2022 21:26:34 +0000 (3 14:26 -0700)
committerepriestley <git@epriestley.com>
Fri, 3 Jun 2022 22:01:04 +0000 (3 15:01 -0700)
treef4d3e352221add906980dd5b62452f3aee8bee2b
parent944b257d5df39ba9a7f5c29f271aa8fc27e1ed28
Fix repository URI generation for SVN commit identifiers represented with integer types

Summary:
Ref T13588. See PHI2198. Some pathways represent SVN commit identifiers (which are numeric) with integers; these raise an exception in `phutil_nonempty_string()`, which is strict.

(Ideally, commit identifiers wouldn't have mixed types, but that's a dramatically less practical change.)

Test Plan: Will deploy.

Maniphest Tasks: T13588

Differential Revision: https://secure.phabricator.com/D21852
src/applications/repository/storage/PhabricatorRepository.php