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

Re: Autmated svn adds and commits

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-11-07 20:30:53 CET

On Nov 7, 2006, at 08:37, Garrett McGrath wrote:

> I'm presently attempting to write a simple script for placing all
> the config files for a number of servers into a working copy area
> of an svn archive. I would like to then automatically commit this
> data to the svn archive itself to make sure we have all our config
> backed up in an easy to access location (and can step thru them to
> find things we've changed / broken). Copying the files and
> commiting them via cron job scripts is fairly trivial but it
> appears your supposed to use an svn add command and svn remove
> command to update the working copy's information.
>
> Is there anyway to tell the working copy to just commit everything
> it has in it's directory area? So if I add a file it's assumed to
> be new and of the latest revision number and if a file is missing
> it's assumed to have been removed?
>
> Basically we know the files are going to be there unless we remove
> them from the copy script and delete them from the working
> directory (you need root access to get to this particular area) so
> we would like to setup svn (for only this location) to just assume
> whatever is in the directory area is the most up to date files and
> commit them.

I don't think so. You may be interested to read this:

http://subversion.tigris.org/faq.html#wc-change-detection

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 7 20:32:19 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.