Homec4science

Provide basic support for Subversion revprops

Authored by epriestley <git@epriestley.com> on Jun 24 2016, 17:48.

Description

Provide basic support for Subversion revprops

Summary:
Ref T11208. See that task for a more detailed description of revprops.

This allows revprop changes in a hosted Subversion repository if the repository has the "allow dangerous changes" flag set.

In the future, we could expand this into real Herald support, but the only use case we have for now is letting svnsync work.

Test Plan:
Edited revprops with svn propset --revprop -r 2 propkey propvalue repositoryuri:

  • Tried before patch, got a "configure a commit hook" error.
  • Tried after patch, got a "dangerous change" error.
  • Allowed dangerous changes.
  • Did a revprop edit.
  • Prevented dangerous changes.
  • Got an error again.
  • Made a normal commit to an SVN repository.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11208

Differential Revision: https://secure.phabricator.com/D16174

Details

Committed
epriestley <git@epriestley.com>Jun 24 2016, 22:43
Pushed
aubortJan 31 2017, 17:16
Parents
rPHfd20b89b56d1: Break white-space on tags in any property list
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH89f9f97159b7: Provide basic support for Subversion revprops (authored by epriestley <git@epriestley.com>).Jun 24 2016, 22:43