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

Re: unexpected behaviour (bug?) when moving/copying

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-12-18 16:33:03 CET

Ben Collins-Sussman <sussman@collab.net> writes:

> On Dec 18, 2004, at 8:48 AM, SteveKing wrote:
>> if you move the folder testwc\currentdir\dir1 into the folder
>> testwc\targetdir (where another 'dir1' is located), then the
>> explorer first asks you if you want to overwrite 'dir1', and if you
>> click yes, then the folder is overwritten, but the files in it are
>> still there. So you end up with
>> testwc\targetdir\dir1
>> testwc\targetdir\dir1\file1
>> testwc\targetdir\dir1\fileA
> Oops, sorry, I read too quickly. So TSVN could prompt the user if
> they want the directories to be 'merged' together the way explorer
> normally does. If so, then TSVN can 'svn copy' each dir1\* object
> into targetdir\, right?

That's a race, it cannot be done reliably using libsvn_client.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 18 16:34:24 2004

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

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