• 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: Xcode and SVN
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode and SVN


  • Subject: Re: Xcode and SVN
  • From: Andrew Pontious <email@hidden>
  • Date: Thu, 7 May 2009 14:26:17 -0700

On May 7, 2009, at 10:21 AM, Wanadoo Hartwig wrote:

Hi Andrew,

Am 07.05.2009 um 07:04 schrieb Andrew Pontious:

On May 6, 2009, at 1:13 PM, Wanadoo Hartwig wrote:

OK, here are some examples:

1)

1.1) Create a folder in the finder
1.2) Create a file in the newly created folder by any editor
1.3) Take a project that is linked to a SVN repository
1.4) select "Add -> Existing files..." and select the newly created file in the newly created folder; select "Recursively create ....", too.
1.5) Result: new file is added to the project, but no new group is created; file is not marked as unknown nor added to repository

Remark: this works in case a file is chosen inside a folder that is already part of the repository

[snip]
Yes, I think it is logical to copy the structure to the SCM system and Xcode. Actually, not even a group is created although Xcode should. If SCM is deactivated Xcode creates the group.

In my test, it didn't make the group in either case. It's a bug.

2)

2.1) Create a new folder in the finder

So, for example, /Volumes/My Hard Drive/A/

2.2) Create a file in the newly created folder by any editor

/Volumes/My Hard Drive/A/A.m

2.2) Choose Repositories in Xcode and import the newly created directory

So you're importing /A/ ?

Yes.



2.3) Checkout the newly imported directory

Let's say you check it out to

/Volumes/My Hard Drive/My Checkout/

so now you have:

/Volumes/My Hard Drive/My Checkout/A/A.m

No, I check it out to

/Volumes/My Hard Drive/My Xcode Projects/My Project/A/A.m

Just to be sure I understand: 

You made a first checkout onto your local machine, and then you made a second checkout from a different location, to inside the first checkout?

That doesn't sound advisable whether you're using Xcode or not.

Xcode certainly can't handle that, since, as I said before, Xcode can currently only handle SCM integration currently if only one root directory is involved, and it is all a single checkout. And Xcode will always assume that a directory's contents will come from a single SCM location. If you want to deal with two SCM locations, I would advise checking them out side-by-side, not one within the other.

Or, what you might want to do here instead is export the directory, which will remove the .svn directories that tie the checkout to its original repository location, and leave these files in the same state as (1).


I would recommend you write up (1) as a bug/enhancement request.

-- Andrew
 _______________________________________________
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

  • Follow-Ups:
    • Re: Xcode and SVN
      • From: Wanadoo Hartwig <email@hidden>
References: 
 >Xcode and SVN (From: Wanadoo Hartwig <email@hidden>)
 >Re: Xcode and SVN (From: Andrew Pontious <email@hidden>)
 >Re: Xcode and SVN (From: Wanadoo Hartwig <email@hidden>)
 >Re: Xcode and SVN (From: Andrew Pontious <email@hidden>)
 >Re: Xcode and SVN (From: Wanadoo Hartwig <email@hidden>)

  • Prev by Date: Re: Couldn't find minimal bounds for "_sigtramp" - backtraces may be unreliable
  • Next by Date: Re: Including C/C++ headers
  • Previous by thread: Re: Xcode and SVN
  • Next by thread: Re: Xcode and SVN
  • Index(es):
    • Date
    • Thread