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

Re: [TSVN] unexpected behavior on svn copy folder and files.

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-01-23 21:21:34 CET

Peter McNab wrote:
> Hi Devs.
>
> Have a simple Repo structure as illustrated below (used fixed width font
> to view)
>
> FolderA/
> FolderB--/XFile-1..
> /XFile-n
> /FolderC/YFile-1..
> /YFile-n
>
> In a WC on a local driver.
> The intention is to make FolderA mirror FolderB (at this point in time).
>
> Using right click SVN Copy in Explorer drag and drop copied
> XFile1..XFilen into FolderA
> Icons indicate modified status.
> In check for modifications these now show as Added(+)
>
> Similarly SVN Copy FolderC to FolderA.
> In check for modifications this also shows as Added(+)
>
> However YFiles-1..n contained within FolderC do not show as added.
> Exploring into the uncommitted FolderC copy in FolderA shows the files
> as unmodified, (Icons show unmodified)

That's completely expected. Remember: Subversion is folder oriented.
When you copy FolderC to FolderA, the files within FolderC aren't added
to FolderC, they're still rooted in FolderC. Only the FolderC is added
to FolderA, but not the files within (they haven't changed their root).

> It looks like the .svn folder of FolderC was also copied across, which
> may not be correct in this situation.

It is correct.
If you like this to be changed, you have to ask on the Subversion
mailing list. TSVN simply shows the real Subversion status.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jan 23 21:21:50 2007

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

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