Page MenuHomePhabricator

Provide basic support for Subversion revprops
ClosedPublic

Authored by epriestley on Jun 24 2016, 3:51 PM.
Tags
None
Referenced Files
F15488553: D16174.diff
Thu, Apr 10, 11:27 PM
F15479528: D16174.id.diff
Tue, Apr 8, 7:53 AM
F15476969: D16174.diff
Mon, Apr 7, 10:41 AM
F15457322: D16174.diff
Sun, Mar 30, 3:39 PM
F15429543: D16174.diff
Mon, Mar 24, 2:54 AM
F15425646: D16174.id38908.diff
Sun, Mar 23, 5:15 AM
F15418310: D16174.id38908.diff
Thu, Mar 20, 10:27 PM
F15409796: D16174.id38908.diff
Wed, Mar 19, 5:21 AM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Branch
svnprop1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12787
Build 16279: Run Core Tests
Build 16278: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Provide basic support for Subversion revprops.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 24 2016, 6:55 PM
This revision was automatically updated to reflect the committed changes.