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

Re: [TSVN] case-sensitive filename conflict on commit. How to test this?

From: Jody Shumaker <jody.shumaker_at_gmail.com>
Date: 2005-11-01 22:08:55 CET

I recently had a developer come across sugh a problem with a file being
renamed on him by some tool. However, they found one case where it still is
possible to add a file with just changed case using TSVN. If you do a commit
based on the folder, it renames the file back fine. If instead you right
click the changed case file, it instead acts like it is an unversioned file
and present the add option. If you choose this add option, then a commit on
that file or the folder presents it as an add of the file, and no longer
changes the case back. This seems to only be a problem with files, not
directories. Renaming directories has no effect on the menu's listed or any
of the operations.

Is it possible that the case-renaming done on a commit could also be done
when right clicking files that appear unversioned?

I've already told the developer to just do commits on a directory, not
specific files. However, it'd be nice if this behavior was consistent. If
instead, this is left like this intentially to allow adding such files I'd
like to know.

Thanks,
Jody Shumaker

On 9/30/05, Stefan Küng <tortoisesvn@gmail.com> wrote:
>
> On 9/30/05, h.larsen@risoe.dk <h.larsen@risoe.dk> wrote:
> > To guard against problems with committing files which differ only in
> > case I have implemented the pre-commit hook to the python script
> > http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/check-case-in
> > sensitive.py.
> >
> > I am trying to test it, but to my surprise, simply change and rename the
> > file in WC seems not to provoke the commit conflict.
> > I rename using the explorer rename, not the TSVN-rename.
> >
> > Can someone give me a hint?
>
> If you just rename a file in case in explorer, TSVN notices that and
> automatically 'corrects' that file back to its original case. So you
> simply *can't* commit such a thing with TSVN.
> You'll have to use the CL client to do something like that.
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.tigris.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
> For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
>
>
Received on Tue Nov 1 23:19:40 2005

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

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