• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What to put in CVS ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What to put in CVS ?


  • Subject: Re: What to put in CVS ?
  • From: Andrew White <email@hidden>
  • Date: Thu, 17 Mar 2005 08:35:06 +1100


Simon Strandgaard wrote:
In a typical xcode project there is a number of files.
I wonder which of them I can leave out from CVS?

My project hierarchy looks like this:

English.lproj/
  MainMenu.nib/
    classes.nib
    info.nib
    objects.nib
  InfoPlist.strings
mac_aeditor.xcode/
  project.pbxproj
  simonstrandgaard.mode1
  simonstrandgaard.pbxuser
Info.plist
version.plist

You should also include 'main.m' and '<myproject>.pch', which (if included) are the default main program (rarely needs changing) and the file used to precompile the headers.


Other CVS tricks:

In main folder:
 .cvsignore with 'build'
In English.lproj (and any other localisations)
 .cvsignore with '*~.nib'

The .cvsignore filter for the backup .nib files is quite important. IB copies the entire nib directory, which means the MainMenu~.nib will have the CVS directory for MainMenu.nib, and CVS gets confused.


If you have access to the CVSROOT module then I'd recommend the following changes too:


CVSROOT/cvsignore:
.DS_Store
.gdb_history

CVSROOT/cvswrappers:
*.nib -k 'b'

Adding the above line to cvswrappers tells it to treat all .nib files as binary files. This checks them in and out of CVS en-mass, rather than as diffs. You can achieve the same effect by adding the files with 'cvs add -kb'.

--
Andrew White

--------------------------------------------------------------------------
This email and any attachments are confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >What to put in CVS ? (From: Simon Strandgaard <email@hidden>)

  • Prev by Date: Self-scheduling threading
  • Next by Date: button with multiple icons
  • Previous by thread: Re: What to put in CVS ?
  • Next by thread: returnCode from beginSheetModalForWindow is incorrect?
  • Index(es):
    • Date
    • Thread