Re: Setting up Subversion (was: Setting up CVS so it actually works!)
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.