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

Re: How to fix issue #4023 (on Windows, 'svn rm missingItem' deletes the unversioned 'MissingItem' from disk)?

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 23 Jan 2012 15:05:47 +0000

Julian Foad <julianfoad_at_btopenworld.com> writes:

> We haven't chosen to behave like a case-insensitive Windows app, it
> seems, and obviously(?) we can't be fully case-sensitive when the
> underlying Windows APIs are not.  The rules we choose must govern how
> we fixed all the case-related issues (#3702, #3865, #4023 at least). 
> We can't classify this issue as a "bug" and "fix" it until we define
> what behaviour we want.

I agree it needs to be properly defined. There are so many questions
about the behaviour, for example:

Suppose wc.db contains "foo" and "FOO" and the disk has "FOO". If the
user types "foo" can that refer to "FOO" on disk?

Suppose wc.db contains "foo" and "FOO" and the disk has "Foo". If the
user types "foo" can that refer to "Foo" on disk?

Suppose wc.db contains "foo" with status=not-present and "FOO" and the
disk has "FOO". If the user types "foo" does that refer to "FOO" on
disk?

Are the rules the same for all operations such as "rm", "up", "diff"?

Will a Windows user know what to expect? Will Windows users all expect
the same thing?

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2012-01-23 16:06:26 CET

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.