On Dec 21, 6:42 am, Rolf Campbell <rcampbell-cyg..._at_dragonwaveinc.com>
> On 2011-12-20 21:57, DanielM wrote:
> > Please consider adding an option to TortoiseSVN to make it NOT revert
> > the case of the file name. The behavior that I am expecting in the
> > above scenario is for TortoiseSVN to consider it a rename operation,
> > i.e. SVN Delete "hello.txt" and SVN Add "HELLO.TXT". I realize that
> > some people like the current behavior because they have programs
> > (Delphi IDEs?) that silently change the case of file names, so they're
> > happy to have TortoiseSVN change it back. However, I have the exact
> > opposite problem: I use programs that purposely change the case of
> > file names (e.g. changing the case of a Java class name in an IDE) and
> > it is unfortunate that TortoiseSVN wipes out these changes.
> The problem with that idea is that it makes an assumption about what has
> happened outside SVN.
> What if I a file named "HelloHenry.txt" file checked out, then I delete
> it using Windows explorer (because I decide I don't need it anymore),
> and then I create a new, completely unrelated file called
> "HellOhenry.txt". The first file was talking to a guy named "Henry",
> the 2nd file was complaining about a chocolate bar. With your rules,
> TSVN would assume I had re-named the file and show it that way.
This example actually proves my point somewhat - with the current
rules, TSVN would silently revert the case of "HellOhenry.txt" back to
"HelloHenry.txt", which I think is worse than having it suggest a
rename (at least you would detect that and could fix it). Anyway, I
think this case is theoretical and not something that has ever
happened to me in practice. On the other hand, renaming the case of a
file outside of TSVN is something that happens to me all the time.
> Making TSVN start trying to guess what you have done outside of SVN
> control gets tricky and dangerous, especially when there are scenarios
> when it guesses wrong.
TSVN is already guessing what I have done outside of SVN and getting
it wrong: TSVN is guessing that some IDE has unwittingly renamed the
case of a file and is therefore renaming the case back. But what
really happened is that I purposely renamed the case of the file, and
TSVN went and undid this. Like I said, some people may like the
current behavior depending on the types of dev tools they are using,
but I would really appreciate having the option to make TSVN behave
differently in this scenario. Even if TSVN doesn't guess that it's a
rename (which I think is most appropriate) it could at least NOT do
the auto file name case revert, which causes real headaches for me.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-12-21 18:36:33 CET