forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SVN "broken" for case-insensitive OSes (Windows)

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Fri Jan 09, 2009 7:11 pm    Post subject: SVN "broken" for case-insensitive OSes (Windows) Reply with quote

Hi guys, when trying to update my SVN repo locally I get an error because my OS doesn't like case sensitive file names. (No need to start a flame war on how Windows sucks and Linux is cool, there is no point there).

So, could anyone with SVN write access fix this by removing the file:

/trunk/pspirkeyb/libpspirkeyb/config/pspirkeyb.ini (rev 2283)

since it seems to be superseded by:

/trunk/pspirkeyb/libpspirkeyb/config/PSPIRKeyB.INI (rev 2441)

something like:

svn rm svn://svn.ps2dev.org/psp/trunk/pspirkeyb/libpspirkeyb/config/pspirkeyb.ini

Thanks!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sat Jan 10, 2009 1:34 am    Post subject: Reply with quote

Code:
Deleting       config/PSPIRKeyB.INI
Replacing      config/pspirkeyb.ini
Transmitting file data .
Committed revision 2451.

Looks like the weirdness started at:
http://forums.ps2dev.org/viewtopic.php?p=76302#76302

I've removed the old one and renamed the newer file with an all lower-case name.
Back to top
View user's profile Send private message Visit poster's website
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat Jan 10, 2009 9:00 am    Post subject: Reply with quote

It's probably angelo's fault. :P :)

He kept renaming files with all kinds of funky capitalizations the whole time I was helping him with pikey. I kept complaining, especially since he didn't change anything to match the new versions. It was clear he was using Windows since case sensitivity was clearly not an issue with him. (Windows sucks and Linux is cool!) :D

That is the biggest issue with people using Windows for development - Windows is practically the only system that is case insensitive. When I started helping with Daedalus, that was the first thing I did - fix all the case problems. I periodically still have to fix case issues after some people commit changes as they again forget to keep the case the same between the filename and usage of the filename.
Back to top
View user's profile Send private message AIM Address
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Sun Jan 11, 2009 5:50 am    Post subject: Reply with quote

Windows is not the only :) i had a bug reported to msys + mingw team a few months ago because of it and everyone was saying the same windows sucks and so on and then one of the main developers just reminded that OpenVMS also is case insensitive...
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun Jan 11, 2009 7:27 am    Post subject: Reply with quote

What's fun are those OSes that are BOTH case sensitive AND insensitive, like AmigaOS. AmigaDOS is insensitive, so case doesn't matter with generic files, but the rest of the OS is, so things like library and device names must match the case exactly even though they're just files loaded through AmigaDOS. DOS was the worst part of AmigaOS... it was clearly just borrowed from elsewhere and tacked into place at the last second.
Back to top
View user's profile Send private message AIM Address
howard0su



Joined: 11 Jan 2009
Posts: 4

PostPosted: Sun Jan 11, 2009 6:15 pm    Post subject: Reply with quote

I made these sort of mistake several times. :(

I know cygwin has an option: strict_case=yes to do the strict case check. And there is an interesting post to say there is a build option in GCC which can enable this check:
http://gcc.gnu.org/ml/java-patches/2003-q1/msg00733.html

maybe this can be the best way to solve these problem when people is working together from different platforms.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group