• 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: Subversion and Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subversion and Interface Builder


  • Subject: Re: Subversion and Interface Builder
  • From: Pete Yandell <email@hidden>
  • Date: Wed, 25 Feb 2004 10:38:11 +1100

For a lengthy discussion on why tar wrappers in Subversion are a bad idea, see:

http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgId=231512

What they really want to do is add support for opaque directories:

http://subversion.tigris.org/issues/show_bug.cgi?id=707

Unfortunately it ain't there yet.


I've tried chmoding everything in the .svn directory in my nib to be writable, and that seems to work OK. svn status still works, but I haven't tried committing anything yet. I can't imagine it's going to break subversion, although subversion may go and reset the permissions at some point.


Pete Yandell
http://pete.yandell.com/

On 25/02/2004, at 10:00 AM, Kirk A. Stork wrote:

Andrew,

I don't use subversion, but I'm wondering... The Developer tools come with some CVS Wrapper scripts that (I think) shield file bundles like nibs from all the stuff CVS normally does in a directory - I think this also causes you to lose actual versioning on shielded files. I'm wondering if subversion has a similar hook, and whether you could adapt those scripts for use with subversion?

The scripts are  /Developer/Tools/cvs-wrap
and /Developer/Tools/cvs-unwrap

Kirk

That's not the problem. .svn is already writable. I don't think IB is ignoring the directory.

I tried using:
defaults write com.apple.InterfaceBuilder VersionControlDirectory "(CVS, .svn)"


The entries are put into IB preferences but it doesn't seem to use them. I also tried deleting the preferences file and letting IB recreate (since it says that CVS and .svn are ok). That didn't work either.

Andrew


On Feb 23, 2004, at 5:44 PM, b.bum wrote:

On Feb 23, 2004, at 4:53 PM, Pete Yandell wrote:
Anybody got a clever workaround for this? Manually moving and re-instating the .svn directory every time I want to edit a NIB is a big pain.

Still a pain, but you could 'chmod -r u+w Foo.nib/.svn', work with the NIB, then 'chmod -r u-w Foo.nib/.svn'.


That will at least allow IB to work with the NIB file and someone could certainly refactor the above into a shell script that made the process a bit less painful.
_______________________________________________
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.
_______________________________________________
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: Subversion and Interface Builder
      • From: Julien Dufour <email@hidden>
References: 
 >Re: Subversion and Interface Builder (From: "Kirk A. Stork" <email@hidden>)

  • Prev by Date: inline assembly
  • Next by Date: Re: Subversion and Interface Builder
  • Previous by thread: Re: Subversion and Interface Builder
  • Next by thread: Re: Subversion and Interface Builder
  • Index(es):
    • Date
    • Thread