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

Unix configuration files under subversion

From: Christopher Baus <chris_baus_at_yahoo.com>
Date: 2004-05-19 21:17:09 CEST

I'm trying to keep my Unix configuration files under
source control. I currently do this with perforce,
but what to use svn for certain systems.

Let's say I have the following file under source


Now I want to map the repository directory /svn/www to
the system's / directory.

The directory someapp doesn't exist on the target
system only in the repository.

The problem is that I can't do the following:

cd /
svn co http://ip/svn/www/ .

Because the etc directory already exists.

Here's the error:

svn: Failed to add directory 'etc': object of the same
name already exists

That's fine. I just want to overwrite the files that
exist with the ones in the repostiory.

What I need is something like:
svn co http://ip/svn/www/ . --force

Unfortunately that option doesn't exist.

Any suggestions? I have to admit this is one place
that perforce's server side state handling and client
view mappings come in handy.


Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 19 21:18:21 2004

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.