Yes, you can commit changes without creating a working copy using WebDAV
with Apache and Subversion's auto versioning options. However, you will not
be able to get previous versions through WebDAV, only head versions. If you
need previous versions, then you'll need to come up with some work arounds
using svn export or other traditional methods.
Johnathan
On 4/20/06 8:26 AM, "Markus Kuhn" <Markus.Kuhn@cl.cam.ac.uk> wrote:
> I'm currently putting together a Web-site content management system that
> uses Subversion as its backend database for storing all web pages and
> providing transaction semantics.
>
> For this application, I would like to make subversion commits from CGI
> scripts that processes edited form content submitted by the user.
>
> Subversion seems currently very much geared towards committing changes
> from a working copy on the local file system. In a CGI script, it is
> somewhat undesireable to use a local working copy file. Being able to
> pipe the new version into svn would be much more convenient!
>
> Is there a way to commit changes into Subversion without having to check
> out a working copy first?
>
> In other words, can I simply feed the new version of a file into
> subversion via stdin and tell it on the command-line, what are
>
> - the filename
> - the revision number from where I started to make the modifications
>
> ?
>
> In other words, is there a write-back equivalent of "svn cat"?
>
> If not, is there a chance that something like this could be added to a
> future version?
>
> Thanks,
>
> Markus
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 21 15:38:07 2006