Re: Subversion and nib files workaround?
Re: Subversion and nib files workaround?
- Subject: Re: Subversion and nib files workaround?
- From: Adhamh Findlay <email@hidden>
- Date: Mon, 10 Mar 2008 22:10:59 -0500
On Mar 10, 2008, at 10:07 PM, Ron Fleckner wrote:
On 11/03/2008, at 1:48 PM, Chris Suter wrote:
On 11/03/2008, at 11:59 AM, Ron Fleckner wrote:
Hi all,
Just wanted to check what other people are doing when using
subversion. After much frustration when modifying nibs, I googled
and found out that Xcode (or IB?) removes, or doesn't reinstate
the .svn directories in *~.nib's. My workaround was to remove all
of the ~.nibs from version control. But this means that whatever
function they have under Xcode is lost when checking out a new
working copy. Is this bad?
I believe that '~' on the end is just the name that IB gives old/
back-up versions. It's the same as what Emacs does. On our
Subversion installation, subversion is configured to ignore these
files. I can't remember if that's the default. You certainly don't
want to check them into Subversion.
The script on Mike Ash's blog is unnecessary for editing NIB files.
- Chris
Thanks Chris and Adhamh.
So I guess that the IB back-up versions with the tilde aren't needed
at all because I've now got backed-up nibs in my subversion
repository anyway.
Just ignore them...
svn propset svn:ignore NibName\~.nib .
If you want to do this to your entire tree the command is tricky. It
might be best to use the -F option on svn and be sure to keep the
revert command handy. :-)
Adhamh
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden