You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Dan <da...@gmail.com> on 2008/01/18 02:07:48 UTC

trunk dir being created when creating branch

Hi,

Just a quick question.

when doing:

svn copy -m "creating release branch 1.0"
http://development:8090/svn-repos/Neo/trunk
http://development:8090/svn-repos/Neo/branches/rb-1.0

Is there a way to avoid the trunk directory being created in branches/rb-1.0??

Using svn 1.4.6 on win xp.


Thanks

Re: trunk dir being created when creating branch

Posted by Dan <da...@gmail.com>.
Thanks Kevin, spot on.

The problem was that i created the branches/rb-1.0 directory before the
copy.

So note to self:

create /branches

then copy to /branches/rb-1.0

Thanks again for the help



On Jan 18, 2008 12:59 PM, Kevin Grover <ke...@kevingrover.net> wrote:

> Did you create directory branches/rb-1.0 before the copy?  If so, don't -
> the copy will create it.  That's the only way I can see you getting a trunk
> directory.  Or, if you really have another trunk inside of first trunk
> directory.
>
> I use a command just like you showed all the time and do not get an extra
> directory (but I know the destination directory does not exist when I do the
> copy)
>
>
>
> On Jan 17, 2008 6:07 PM, Dan <da...@gmail.com> wrote:
>
> > Hi,
> >
> > Just a quick question.
> >
> > when doing:
> >
> > svn copy -m "creating release branch 1.0" http://development:8090/svn-repos/Neo/trunk
> >  http://development:8090/svn-repos/Neo/branches/rb-1.0
> >
> > Is there a way to avoid the trunk directory being created in
> > branches/rb-1.0 ??
> >
> > Using svn 1.4.6 on win xp.
> >
> >
> > Thanks
> >
>
>

Re: trunk dir being created when creating branch

Posted by Kevin Grover <ke...@kevingrover.net>.
Did you create directory branches/rb-1.0 before the copy?  If so, don't -
the copy will create it.  That's the only way I can see you getting a trunk
directory.  Or, if you really have another trunk inside of first trunk
directory.

I use a command just like you showed all the time and do not get an extra
directory (but I know the destination directory does not exist when I do the
copy)


On Jan 17, 2008 6:07 PM, Dan <da...@gmail.com> wrote:

> Hi,
>
> Just a quick question.
>
> when doing:
>
> svn copy -m "creating release branch 1.0"
> http://development:8090/svn-repos/Neo/trunk
> http://development:8090/svn-repos/Neo/branches/rb-1.0
>
> Is there a way to avoid the trunk directory being created in branches/rb-
> 1.0 ??
>
> Using svn 1.4.6 on win xp.
>
>
> Thanks
>