[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SVN-based web content-management system

From: Markus Kuhn <Markus.Kuhn_at_cl.cam.ac.uk>
Date: 2006-04-20 15:26:18 CEST

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

-- 
Markus Kuhn, Computer Laboratory, University of Cambridge
http://www.cl.cam.ac.uk/~mgk25/ || CB3 0FD, Great Britain
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 20 22:07:04 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.