[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-2008a_at_ryandesign.com>
Date: Fri, 22 Feb 2008 03:32:07 -0600

On Feb 21, 2008, at 12:56, Aneesh K raj wrote:

> On Sat, 02 Feb 2008 Ryan Schmidt wrote :
>
> >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
>
> suppose i execute the target....in the below way...
>
> User1 (combination of both trunk & branch)
>
> checkout from trunk....
>
> checkout from branch(1 folder belonging to user1)
>
> User 2
>
> checkout from trunk....only...
>
> User 1 executes and runs the 2 targets...successfully
>
> but now when user2 wants to execute target to checkout from trunk
> only..
>
> all the code comes from trunk (except the 1 folder of branch)
>
>
> How can we avoid this situation...so that all the code including
> that 1 folder will have the code from the trunk...
>

I don't know what you mean by "execute the target". I'm having a hard
time picturing what you're doing or how you want it to work.

---------------------------------------------------------------------
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-22 10:32:45 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.