• 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: Setting up Subversion (was: Setting up CVS so it actually works!)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting up Subversion (was: Setting up CVS so it actually works!)


  • Subject: Re: Setting up Subversion (was: Setting up CVS so it actually works!)
  • From: Shawn Erickson <email@hidden>
  • Date: Sat, 10 Jul 2004 15:31:21 -0700

On Jul 10, 2004, at 2:25 PM, Terrence Talbot wrote:

One thing that was hard for me to figure out, and doesn't seem to be covered well in the book, is setting up something like a CVSROOT/cvsignore file so that imports don't suck things in that you'd rather not see in the repository.

My ultimate solution was to create an /etc/subversion directory on the server that contains the repository and put a config file in there with a global-ignores line that includes the usual suspects, e.g., .DS_Store, build, *~.nib, etc.

The easiest way to do this is to set up a quick local (test) repository, add something, and then check it back out. Using the svn client locally will create a ~/.subversion directory with the standard files in it. Copy that to /etc/subversion on the server, edit config appropriately, and then import/add/whatever.

If you set global-ignores on both the server and your home directory, new files matching those patterns will be effectively ignored during imports, updates, etc.

I am hitting the cvsignore issue currently.

On my server (using svn+ssh to hit the repository since it is the simplest to deal with for what I currently need, in house with a few users only) I created a /etc/subversion and created a file called config. My config looks like the following...

[Cube:~] shawnce% more /etc/subversion/config
[miscellany]
global-ignores = build *~.* .* *.pbxuser *.mode1 *.app *.kext *.framework


When I do an import doesn't ignore things as I want (note .pbxuser is imported, etc.)

[G5:projects/ftsw/ThreadTools] shawnce% svn import -m "Import" . svn+ssh://cube.local/repository/ftsw/ThreadPool
Adding version.plist
Adding FTSWThreadPool.m
Adding FTSWThreadPoolWorkerPrivate.h
Adding FTSWThreadPoolWorkItem.m
Adding FTSWThreadPoolWorker.h
Adding Info.plist
Adding FTSWThreadPoolPrivate.h
Adding ThreadTools.xcode
Adding ThreadTools.xcode/shawnce.pbxuser
Adding ThreadTools.xcode/project.pbxproj
Adding ThreadTools.xcode/shawnce.mode1
Adding FTSWThreadPoolWorker.m
Adding FTSWThreadPool.h
Adding FTSWThreadPool_Prefix.pch
Adding FTSWThreadPoolWorkItem.h
Adding English.lproj
Adding (bin) English.lproj/InfoPlist.strings
Adding ThreadTools_Prefix.pch


Committed revision 1.

Do I need to set it per user / system as well?

-Shawn
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Setting up Subversion (was: Setting up CVS so it actually works!)
      • From: Terrence Talbot <email@hidden>
References: 
 >Setting up CVS so it actually works! (From: Heath Raftery <email@hidden>)
 >Re: Setting up CVS so it actually works! (From: Brent Gulanowski <email@hidden>)
 >Re: Setting up CVS so it actually works! (From: "b.bum" <email@hidden>)
 >Setting up Subversion (was: Setting up CVS so it actually works!) (From: Jeff Ganyard <email@hidden>)
 >Re: Setting up Subversion (was: Setting up CVS so it actually works!) (From: Nick Zitzmann <email@hidden>)
 >Re: Setting up Subversion (was: Setting up CVS so it actually works!) (From: Jeff Ganyard <email@hidden>)
 >Re: Setting up Subversion (was: Setting up CVS so it actually works!) (From: Nick Zitzmann <email@hidden>)
 >Re: Setting up Subversion (was: Setting up CVS so it actually works!) (From: Terrence Talbot <email@hidden>)

  • Prev by Date: Re: Setting up Subversion (was: Setting up CVS so it actually works!)
  • Next by Date: Re: Setting up Subversion (was: Setting up CVS so it actually works!)
  • Previous by thread: Re: Setting up Subversion (was: Setting up CVS so it actually works!)
  • Next by thread: Re: Setting up Subversion (was: Setting up CVS so it actually works!)
  • Index(es):
    • Date
    • Thread