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

Overwriting files.

From: Gavin Baumanis <gavinb_at_thespidernet.com>
Date: Wed, 27 May 2009 19:46:47 +1000

This is going to be one of those "stupid" questions...
Where I end up feeling like a bit of an idiot for having to ask....
but far better to ask and feel foolish and get some appropriate
instructions - than not to ask and simply be foolish!

Anyway,

I have the folloiwng paths in the repo already.
trunk/
branches/vendor1/

What I need to do is completely overwrite vendor1 with the current
state of the trunk.

I thought that svn copy would be my friend..
svn copy trunk/ branches/vendor1/
but it won't work because the target already exists, and it doesn't
have a --force option either.

Previously I have used;
svn export trunk/ branches/vendor1 --force

and I have also simply copied the files with the OS and then later
committed.

And I have also used;
svn merge -r1:head trunk/ branches/vendor1/ - but that just seems like
a bit of overkill - particularly if the trunk has seen a lot of action!

So I hand it over to you, to point me in the right direction, please!

Thanks in advance,
Gavin.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2355698

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-27 11:47:43 CEST

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.