You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Greg Lowe <gr...@wl.co.nz> on 2006/05/25 21:27:39 UTC

svn copy differs between win and unix

svn copy http://xxxxx/trunk http://xxxxxx/branches/branch-name

When run from windows puts the files in this folder:
   http://xxxxxx/branches/branch-name/trunk/

When run on linux puts the files in this folder as expected:
   http://xxxxxx/branches/branch-name/

windows svn command line client 1.3.0
linux svn command line client 1.2.3

Just wondering if anybody has noticed this before?

Cheers,
Greg.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn copy differs between win and unix

Posted by Greg Lowe <gr...@wl.co.nz>.
Giovanni Bajo wrote:
> Greg Lowe <gr...@wl.co.nz> wrote:
>
>   
>> svn copy http://xxxxx/trunk http://xxxxxx/branches/branch-name
>>
>> When run from windows puts the files in this folder:
>>    http://xxxxxx/branches/branch-name/trunk/
>>
>> When run on linux puts the files in this folder as expected:
>>    http://xxxxxx/branches/branch-name/
>>
>> windows svn command line client 1.3.0
>> linux svn command line client 1.2.3
>>
>> Just wondering if anybody has noticed this before?
>>     
>
>
> That's really unlikely. I believe that what really happened is that, when you
> tried under windows, the branch-name directory already existed, so what "cp"
> did was to copy "trunk" within it. Instead, when you ran the command under
> linux, you didn't have the branch-name directory yet, so the "cp" command
> copied "trunk" under "branches" with the new name "branch-name".
>
> Giovanni Bajo
>
>   
Yes that was it. I thought there must be some simple explanation.

Cheers,
Greg.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn copy differs between win and unix

Posted by Giovanni Bajo <ra...@develer.com>.
Greg Lowe <gr...@wl.co.nz> wrote:

> svn copy http://xxxxx/trunk http://xxxxxx/branches/branch-name
>
> When run from windows puts the files in this folder:
>    http://xxxxxx/branches/branch-name/trunk/
>
> When run on linux puts the files in this folder as expected:
>    http://xxxxxx/branches/branch-name/
>
> windows svn command line client 1.3.0
> linux svn command line client 1.2.3
>
> Just wondering if anybody has noticed this before?


That's really unlikely. I believe that what really happened is that, when you
tried under windows, the branch-name directory already existed, so what "cp"
did was to copy "trunk" within it. Instead, when you ran the command under
linux, you didn't have the branch-name directory yet, so the "cp" command
copied "trunk" under "branches" with the new name "branch-name".

Giovanni Bajo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org