• 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: Terrence Talbot <email@hidden>
  • Date: Sat, 10 Jul 2004 15:46:39 -0700

On Jul 10, 2004, at 3:31 PM, Shawn Erickson wrote:


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.)


Huh. What you have looks fine to me and worked for me with no problems. (I, too, was specifically trying to ignore *.pbxuser, among others.) On import, those files were not added. It was during svn status/svn update that pbxuser files were being flagged with ?s locally. Copying the config file back to ~/.subversion took care of that.


It certainly wouldn't hurt to try it per user, but that was not my experience.

Presumably the config file is readable by you/svn on cube.local?
_______________________________________________
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.


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>)
 >Re: Setting up Subversion (was: Setting up CVS so it actually works!) (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: Setting up Subversion (was: Setting up CVS so it actually works!)
  • Next by Date: Re: viewing global vars in the debugger
  • 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