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

Re: Bug? - TSVN failing when trying to double-create folder

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-08-05 14:39:06 CEST

Foxy wrote:
> You should be able to repro this behavior with this repository:
> https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc
> Forewarning: There are almost 300 megs of libs inserted in the repo (not
> sure why, they're compilable from the code, but eh) before you get to
> the failure point. Failure error is:
> Error: Failed to add directory
> 'D:\video\work\dev\testing\trunk\src\apps\ShuttlePN31': object of the
> same name already exists The ShuttlePN31 folder does in fact exist, and
> if it's removed and an attempt is made to update, it'll redownload the
> contents of that folder, and then error out again.
>
> Oddly enough, it works just fine with no failure at all if I start from
> https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk/src/apps
> even if the folder structure is recreated exactly. I don't know if this
> has to do with the huge libs or not.

Check the URL https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc. Someone
managed to create a folder there with the name
"trunk\src\apps\ShuttlePN31" (note the backslashes *in* the name!!).
Now, while Linux can handle such filenames, Windows can't: for Windows,
that is a full path, not just a filename (or foldername). The backslash
is an illegal char for a file/foldername. That's why this fails, and
will fail until someone removes that folder.
Since TSVN (and most SVN clients I know) will canonicalize such a path,
you might have to use "trunk\\src\\apps\\ShuttlePN31" when you try to
delete that folder (best with the command line client).

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 Sun Aug 5 14:37:27 2007

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