PHP Classes

Extending the Methods

Recommend this page to a friend!

      PHP SVN Client  >  All threads  >  Extending the Methods  >  (Un) Subscribe thread alerts  
Subject:Extending the Methods
Summary:I want to commit new versions and revert to old versions
Messages:1
Author:Ian Thomas
Date:2009-02-16 12:26:58
 

  1. Extending the Methods   Reply   Report abuse  
Picture of Ian Thomas Ian Thomas - 2009-02-16 12:26:58
Dear Cesar,

Thank you for all the excellent classes you have contributed!

I am thinking of using svn as a repository for versioned content that my application's users are creating.

I have had a look at the code and am struggling to descover how to drive the svn interface to commit files and revert to prevbious versions, for example.

The class uses the DAV interface to drive svn, but I do not seem to be able to find a mapping between the DAV methods and the svn methods.

eg
$this->initQuery($args,"PROPFIND",$url);

is used to get a raw directory dump, yet the svn documentation uses a totally different terminology

svn.collab.net/repos/svn/trunk/note ...

makes mention of the DAV metods like GET, REPORT and PROPFIND but that's as far as I have been able to get


Any pointers?


Many Thanks

Ian Thomas