LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 06-24-2006, 06:46 PM   #1
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,045

Rep: Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953
Case-insensitive CVS?


I need to maintain a project in CVS that was originally developed under Windows. (The compiler runs under Wine.)

Anyhow... I want to somehow designate to CVS that such-and-so project is "case insensitive," even if the underlying host system is not. In other words, I want it to interpret each filename that is checked-in or checked-out to the repository for this project in a case-insensitive manner. (Slight variations of case are a fact of life in Windows systems, where a file might be bah.EXE or bah.exe.)

Ideas? Recommends?
 
Old 06-24-2006, 07:36 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 63
"--ignore-case" is only available for the 'diff' cvs command.

So, I guess it's either hack-the-source time, or just spend the time to normalize the case in your files.

I was thinking you may be able to use the 'commitinfo' file to create a case-insensitive regex that will trap the commit and enact it on the *real* file, but the more I think about it, the more I think it would just cause an endless loop. Plus, it would only work for commits, not for checkouts.

I think the path of least resistance is just to normalize the files...
 
Old 06-25-2006, 10:01 AM   #3
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,045

Original Poster
Rep: Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953Reputation: 953
Thought so. Umm, there isn't a pre-existing utility to do that, is there? I mean, it's not hard to bang one out but ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to search in VI wih case insensitive lordofring Programming 7 11-16-2011 08:11 AM
SuSE's less(1) is always case insensitive: how to disable? wirawan0 Suse/Novell 1 01-25-2006 12:10 PM
having fstab-sync mount fat case-insensitive eliotstock Linux - General 9 06-05-2005 12:55 PM
case insensitive search command ColKurtz Linux - Newbie 4 01-20-2005 07:02 AM
case-insensitive auto-complete gSalsero Programming 3 06-08-2004 07:33 AM


All times are GMT -5. The time now is 11:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration