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

Re: overwrite/convert a working directory

From: Phillip Susi <psusi_at_cfl.rr.com>
Date: 2006-03-02 21:40:54 CET

Avram Dorfman wrote:
> Hello,
>
> I have this situation I keep running into that SVN doesn't seem to be
> able to handle. I'd like to know what other people do when this comes up.
>
> Simply put, I need to be able to replace a working sub-directory with
> another version of itself. The other version comes from a build process
> elsewhere. If it were just a file, I would simply overwrite the old file
> with the new one. But I can't do that with a directory b/c the directory
> loses it's .svn structures, and svn will no longer operate on it - it's
> not a working directory any more.
>
> The directory itself is deeply nested; I can't simply overwrite each
> individual file. The "hack" solution I'm currently using is to tar up
> the new source, and expand the tar on top of the new one.
>

You should have no trouble using a simple copy command to copy the files
from the non wc directory tree to the wc directory tree. It needn't
involve subversion at all.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 2 21:45:38 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.