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.
---------------------------------------------------------------------
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:36:35 2006