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

Re: Looks like a bug, export on Windows Vista is broken

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-12-23 20:27:55 CET

Todd Osborne wrote:
> Thanks for your response. I checked the permissions of all files and
> verified that my account is the owner, and all is well. I get the same
> output, a single directory, no files. If this were a permissions problem,
> wouldn't that also cause the same problem when exporting from the
> repository?

No, it's not the same. When you export from a working copy, we use the
shell copy function to copy the files to the new location. If you export
from an URL, then the files are downloaded and created from scratch on
the harddrive.

I've just spent four hours with Vista, trying to find out why this
happens. And I've came to the conclusion that SHFileOperation() is
severely broken on Vista :(
Seriously: a simple test program behaves different on XP than on Vista.
First, Vista will copy hidden folders automatically while XP does not if
not asked to. Then, Vista will fail with an error code of 5 (no, those
errors are nowhere documented) in some situations where XP will work
just fine.

I will have to rewrite our export function completely to make this work
on Vista. But that will take some time...

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sat Dec 23 20:28:07 2006

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