[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: Peter McNab <mcnab_p_at_melbpc.org.au>
Date: 2007-01-23 02:47:45 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)
>
> It looks like the .svn folder of FolderC was also copied across, which
> may not be correct in this situation.
>
> TortoiseSVN 1.4.1, Build 8494 - 32 Bit -dev, 2007/01/15 18:37:28
> Subversion 1.4.3, -dev
> apr 0.9.12
> apr-iconv 0.9.7
> apr-utils 0.9.12
> berkeley db 4.4.20
> neon 0.26.2
> OpenSSL 0.9.8d 28 Sep 2006
> zlib 1.2.3
>
> On Win2k.
Same applies for TortoiseSVN 1.4.1, Build 8533 - 32 Bit -dev, 2007/01/22
21:06:13

Further to the above.
Ignoring XFiles1..n issues for the moment.
 
Selecting and reverting the uncommitted SVN Copied FolderC now in
FolderA simply removes it's.svn folder
It is then necessary to use Explorer to delete the folder and its files.
This action invokes a TSVNCache.exe Application Error
The exception unknown software exception (0xc00000fd) occurred in the
appliaction 0x00416e29.
------------

Back to just SVN copying files XFiles1..XFilesn from FolderB to the
versioned but otherwise empty FolderA.
This works as expected.
However of Revert is conducted on FolderA the files are not removed from
FolderA as I would expect.

I think the following described behavior has been reported before and
could be improved too.
If the list of files selected to be SVN Copied from FolderB to FolderA
accidentally contains an unversioned file, the SVN Copy action is
aborted with a warning message "'Fullpath\FileName' is not under version
control", leaving an incompleted list of copied files in FolderA.

It would probably be more useful to offer the option of SVN Adding any
selected unversioned files.

Regards
Peter.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jan 23 02:48:00 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.