2010-07-10 8 views
5

Je ne parviens pas à voir l'option de validation après avoir apporté des modifications à ma copie de travail, mais j'ai vérifié que mes paramètres pour svn étaient corrects.Comment éviter "Xcode, Subversion Erreur: 155007 (Chemin d'accès n'est pas un répertoire de copie de travail)"?

Quel est exactement le problème avec ce message d'erreur?

Xcode montre:

Your path is not a working copy

Que dois-je faire pour résoudre ce problème?

+2

Subversion a fait un erreur "ur chemin n'est pas un coppy de travail"? – Ether

+0

je n'étais pas en mesure de mettre à jour mes modifications de projet à svn .. quand je clique droit sur mon fichier ne montre pas l'option de changements de validation atleast ne montre pas le symbole M ...... –

Répondre

6

L'article de blog "Xcode, Subversion Error: 155007 (Path is not a working copy directory)" et son commentaire sont à peu près la référence sur ce type d'erreur.

Solution simple:

  1. Supprimer votre copie locale (cd myxcodeproject; rm -rf .)
  2. Supprimez le dossier « build » du serveur
  3. svn co https://svnserver/path/trunk/project .

Now you should see .svn folders in every directory of your local project (you don’t see them if you use the “ Export ” function of the SCM panel from Xcode).
At this point, you should be able to edit and commit your changes directly from Xcode.

Maintenant, vous avez besoin initier Alize correctement le projet.
Les sections suivantes illustrent cette partie:

Comment faire droit (principe général)

To place the project under Xcode, you need to first import it.
The SCM->commit entire project… gives error 155007 if you don’t first do this:

Under the SCM menu in Xcode select Repositories, then click the IMPORT icon at the top of that dialog that appears.
Select the project from the list and then click the import button.

Of course you need to first configure at least one repository before doing the steps above.

étapes droit d'initialisation (processus détaillé)

  1. Create the project in XCODE.
  2. Setup subversion in XCODE and select the subversion repository for this project.
  3. Use Xcode SCM > Repository and click on the IMPORT icon. This will move the local copy to the subversion repository.
  4. Now delete your local copy (or move it to another location just in case).
  5. Finally CHECKOUT the project from subversion (this will create the subversion .svn folders, …).
  6. Reselect the subversion repository for this project.
  7. Commit the entire project.
+0

svn co https: // svnserver/path/Trunk/Projet. ça signifie? –

+0

@Iak: Il s'agit d'un chemin générique vers un référentiel SVN, donné ici à titre d'exemple. Cela signifie que vous devriez vérifier votre dépôt SVN, en remplaçant "' svnserver/path/trunk/project' "par votre chemin repo SVN. Notez le point fin, qui indique que vous êtes en train de vérifier le dépôt SVN sur le chemin actuel (''myxcodeproject'' ici, encore un nom de répertoire générique donné comme exemple). – VonC

Questions connexes