HomePhabricator

Provide basic support for Subversion revprops

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

Provenance
epriestleyAuthored on Jun 24 2016, 3:48 PM
epriestleyPushed on Jun 24 2016, 8:43 PM
Reviewer
chad
Differential Revision
D16174: Provide basic support for Subversion revprops
Parents
rPfd20b89b56d1: Break white-space on tags in any property list
Branches
Unknown
Tags
Unknown
Tasks
T11208: Support Subversion revprops
Build Status
Buildable 12791
Build 16285: Run Core Tests