• 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: add groups/folders including files to svn repository
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add groups/folders including files to svn repository


  • Subject: Re: add groups/folders including files to svn repository
  • From: James Bucanek <email@hidden>
  • Date: Tue, 15 Aug 2006 12:17:20 -0700

Christian Klotz wrote on Tuesday, August 15, 2006:
>I just started using subversion with Xcode. It was no problem to
>setup the local copy of my repository and commition ne files or
>changes … since they were in the root directory. Because I want to
>package my classes I need groups/subfolders. I created directories in
>the Finder and dragged them to Xcode to have groups built
>automatically. Then I added a file and wrote my sourcecode.
>After all I tried to add all this stuff to my repository. Even if I
>clicked "Add to Repository" from the SCM menu, nothing happened.

Xcode will happily add new files to folders that already exist in the repository, but the current version of Xcode becomes terribly confused with new/renamed folders.

Here are two ways of adding a folder full of source files:

1) Use the 'svn mkdir <localpath>' command to create a local subfolder in your project and schedule it to be added to source control. Drag that folder into your project and add it as a new source group. Any new files you add to that folder/group can be added to the repository using Xcode's Add to Repository command.

2) If you've already created the folder and added them to your project, use 'svn add <localfolder>' to schdule that folder and all of its contents to be added to source control. Close and reopen your project, or use the SCM > Refresh Entire Project so that Xcode will notice the changes.


James Bucanek
____________________________________________________________________
Author of Beginning Xcode                           ISBN: 047175479X
<http://www.beginningxcode.com/>
 _______________________________________________
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

References: 
 >add groups/folders including files to svn repository (From: Christian Klotz <email@hidden>)

  • Prev by Date: Re: Xcode/gcc help in enforcing secure coding?
  • Next by Date: Re: debugging an scons based project?
  • Previous by thread: add groups/folders including files to svn repository
  • Next by thread: Xcode 2.4 bug fixes?
  • Index(es):
    • Date
    • Thread