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

Re: SVN checkout from branch...Failing

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: Sat, 2 Feb 2008 06:06:52 -0600

On Feb 2, 2008, at 00:53, Aneesh K raj wrote:

> I have a target where i get src files from a particular trunk
>
> and then from that files...i hv to override one of the folders with
> src files from a different branch
>
>
> i tried and it says that the the existing folder has a diff url.
> and it fails...
>
>
> So Hw to go abt it...
>

You didn't show us the commands you used or the exact error message
you got, so it's difficult to guess. But I think I can help you. If I
understand correctly, you want a working copy where most of the files
are from the trunk, but one directory of files comes from a branch?
That can be done like this:

svn checkout http://svn.example.com/repo/trunk wc

svn switch \
http://svn.example.com/repo/branches/somebranch/somedir \
wc/somedir

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-02 13:07:29 CET

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.