On Sun, Mar 20, 2011 at 9:32 PM, Johan Corveleyn <jcor...@gmail.com> wrote:
> Some thoughts:
>
> - There is only a problem if the dst_path gets case-normalized to one
> of the source paths. Otherwise, the case-normalization really does
> need to happen.

Hm, this thought may be incorrect (or at least "unexpected" for
windows users). In fact, if we look at how the native "move" behaves,
it never case-normalizes the target path:

[[[
C:\Temp>dir /B test
TODO

C:\Temp>echo anothertest > bla

C:\Temp>move bla test\toDO
Overwrite C:\Temp\test\toDO? (Yes/No/All): y
        1 file(s) moved.

C:\Temp>dir /B test
toDO

C:\Temp>type test\todo
anothertest
]]]

So it seems that, if we want "svn mv" to behave more like "move" on
Windows, the target path should never be normalized to the on-disk
casing. Just use it as is ...

Cheers,
-- 
Johan

Reply via email to