1

We are running CollabNet SubversionEdge.

I am scripting various tasks. One of the more obscure is updating our repository access rules to suit new branches I create. While there is a published REST API for SubversionEdge (http://help.collab.net/index.jsp?topic=/csvn/reference/svnedge_hookscripts_api.html) I wonder whether it possible to edit or replace the repository access rules via an API call?

(Or is that too potential insecure to expose via the API?)

David White
  • 3,014
  • 1
  • 32
  • 35

1 Answers1

1

I am not sure whether SVN Edge's REST API supports repository access rules management. However you can try VisualSVN Server if your SVN server runs on Windows - it supports access rules management automation via the PowerShell Scripting and Automation feature. Consider the following PowerShell cmdlets:

Read the article KB99: Configuring remote administration with VisualSVN Server PowerShell to begin using the remote administration capabilities of the cmdlets.

bahrep
  • 29,961
  • 12
  • 103
  • 150