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

Re: Created folder called "D:"

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-02-04 04:23:18 CET

On 2/3/06, Young, Jason (GE Infrastructure) <Jason.Young@ge.com> wrote:
>
> We had a guy use RapidSVN (on Windows), and SOMEHOW, he was able get the
> files into the repository like the picture below. I tried deleting them in
> Tortoise and the command line, and both bombed. I ended up using
> svndumpfilter to remove it. Anyone ever see this happen? I was unable to
> even recreate that structure in a different repository.
>
> We are back up and running, but I didn't know if this was a bug that we
> should report, or just not mention again.
>
> Thanks!
> Jason
>
>
>

I just tested w/ TSVN and it allowed me to remotely create a directory in my
repository with a name of d: (through Repo-browser).

However, I couldn't update my local (Windows) working copy, because : is an
illegal character in Windows file/directory names. Similarly, I couldn't
creat a D: directory in the WC. I was able to create a d: directory on my
Linux box (which hosts the repository), and was able to update my WC on my
Linux box, creating the directory.

So, my guess is that this is how your developer created the directory, if
he's on Windows.

Bug? Not sure. You can do other things in SVN that Windows doesn't handle
(symlinks come to mind); maybe a pre-commit hook is needed to check for the
existence of illegal characters in file/directory names? If you had a
non-Windows system available to you, you could have checked out a WC to
that, removed the directory w/ svn rm D:, committed and been in the clear.

Outlook.jpg
Received on Sat Feb 4 04:26:54 2006

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

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