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.
On 9/30/05, Stefan Küng <email@example.com> wrote:
> On 9/30/05, firstname.lastname@example.org <email@example.com> 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.
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.tigris.org
> To unsubscribe, e-mail: firstname.lastname@example.org
> For additional commands, e-mail: email@example.com
Received on Tue Nov 1 23:19:40 2005