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

Re: Changing the case of a file name uncovers a problem.

From: Rainer Müller <mueller_rainer_at_gmx.de>
Date: 2006-05-20 01:01:04 CEST

Andrei Chichak wrote:
> Using V.1.3.3 build 6219 - 32 Bit. Client system is W2K or XP.
> Subversion server running on a slackware box.
>
> 1. Create a file called "x"
> 2. add it
> 3. commit it. (status box shows that x was added)
> 4. TSVN delete the file.
> 5. Create a file called "X"
> 6. add it

Tried with Nightly Build TortoiseSVN 1.4.0, Build 6438.
If I choose "Add..." on the file directly, TSVN shows me an empty error message box.
If I use "Add..." from the parent folder it displays "x" for re-addition and not
"X".

> 7. commit it. (status box shows that x was deleted and X was added)

Works correct. TSVN rectifies the file name:

Progress dialog:
|Replacing: C:\path\to\file\x
|Sending content: ...
|Completed: At revision: ...

If you delete a file an then add it again it gets replaced. So it should be
displayed as modified in the log, I think.

TSVN tries to rectify the case of a file, but that seems to fail if that file is
 marked as deleted.

> 8. do a checkout of the directory somewhere else. TSVN will try and add
> "x" and "X" which (on a Windoze box) causes an error where TSVN "Can't
> copy 'path\.svn\tmp\text-base\x.svn-base' to 'path\x.tmp': The system
> cannot find the file specified."

See http://tortoisesvn.sourceforge.net/node/167 and
http://tortoisesvn.sourceforge.net/node/8

> 9. Fire up Repo-browser. Show the log for the containing folder. There
> is no notion of the delete. Hmmmm.

There is a action "Replacing" listed in the changed paths for me. (BTW:
shouldn't that be "Replaced" according to "Deleted", "Added" and "Modified"?)

All in all, it is a little bit confusing, since the overlays are case-sensitive,
but the dialogs are not. Or better: they correct the filename in most cases.

Maybe it is only a issue in 1.3.x?

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sat May 20 01:01:20 2006

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

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