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

RE: Unix configuration files under subversion

From: David CM Weber <david.weber_at_backbonesecurity.com>
Date: 2004-05-19 21:20:33 CEST

Well. Not being a subversion expert, you could probably emulate it w/ a
shell script. Create a new directory, get the files, and move them as
appropriate.

Random thought..

-----Original Message-----
From: Christopher Baus [mailto:chris_baus@yahoo.com]
Sent: Wednesday, May 19, 2004 3:17 PM
To: users@subversion.tigris.org
Subject: Unix configuration files under subversion

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
control:

http://ip/svn/www/etc/someapp/someapp.conf

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.

Christopher

        
                
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
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:21:08 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.