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