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

Re: Branching Noob Question

From: Rob Wilkerson <r.d.wilkerson_at_gmail.com>
Date: 2006-08-16 23:32:57 CEST

Doh! You're absolutely right. I spend half of my day in Linux so I
should have known better. I just didn't think of it that way. When I
imported my initial structure I imported every structural element that
I knew I was going to want to populate - even if it was empty.

The upside (such as it is) to asking really, really dumb questions:
you never have to ask them again. They embarrassment lingers. :-)

On 8/16/06, Ryan Schmidt <subversion-2006c@ryandesign.com> wrote:
>
> On Aug 16, 2006, at 22:43, Chris Fouts wrote:
>
> >> This is particularly remedial, I know (I almost hate to ask
> >> the question), but I can't quite understand what I'm doing
> >> wrong. I'm trying to create a branch from the trunk and,
> >> after the branch is complete, the branch includes the trunk
> >> directory. Using this command
> >>
> >> svn cp -m "Creating a 3.5.5 maintenance branch"
> >> http://example.com/repos/myrepos/trunk/
> >> http://example.com/repos/myrepos/branches/maint/3.5.5/
> >>
> >> I end up with the following:
> >>
> >> example.com/branches/maint/currentversion/trunk
> >>
> >> What I want, of course, is for the /trunk level to go away and
> >> its contents to live directly beneath the /currentversion
> >> directory. I'm new to Subversion (obviously), but I've done
> >> this before with the expected results. I guess I just got
> >> lucky, though, because I have no idea what I did differently.
> >
> > I had this problem. I believe the ../branches/maint/
> > dirs must already exist to do what you want to do.
> >
> > svn mkdir http://example.com/repos/myrepos/branches/maint
> > svn commit (???)
> > svn cp -m "blah blah"
> > http://example.com/repos/myrepos/trunk/
> > http://example.com/repos/myrepos/branches/maint/3.5.5
>
> Yes, and the 3.5.5 directory must NOT already exist, or else you get
> the behavior you observed. This is just like the Unix cp command, FYI.
>
>
>

-- 
Rob Wilkerson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 16 23:42:56 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.