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

Re: Copy (Branch/Tag) Dialog question

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-08-03 08:30:40 CEST

Daniel Atallah wrote:
> On 8/2/06, Rainer Müller <mueller_rainer@gmx.de> wrote:
>> Jeremy Ross wrote:
>> > I'm getting unexpected results when using the Branch/Tag feature. For
>> > example:
>> >
>> >> From WC at URL: http://mydomain.com:2011/svn/repos/App/trunk
>> > To URL: http://mydomain.com:2011/svn/repos/App/tags/rel_0.2
>> >
>> > What I want is for the contents of App/trunk to be copied into
>> > App/tags/rel_0.2
>> >
>> > However, the App/trunk folder itself is being copied, so I end up with
>> > App/tags/rel_0.2/trunk/.
>> >
>> > Can someone shed some light on what I'm doing wrong?
>>
>> That's some sort of strange Subversion behavior. If the target
>> directory already
>> exists, it creates a directory with the basename of the source
>> directory in it.
>> To avoid this, simply enter the path to .../branches/foobar without
>> creating
>> foobar before. I don't know if this issue will ever be fixed...
>
> This behavior seems logical to me; it is the same thing that the `cp`
> unix command has done for years. ;)

It is fixed. Just try a nightly build and you would get an error that
the target already exists.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Aug 3 08:30:52 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.