2010-07-10 8 views
5

मैं अपनी कामकाजी प्रति में परिवर्तन करने के बाद प्रतिबद्ध विकल्प देखने में सक्षम नहीं हूं, लेकिन मैंने यह सुनिश्चित किया कि svn के लिए मेरी सेटिंग्स सही थीं।आप कैसे बचेंगे "एक्सकोड, सबवर्सन त्रुटि: 155007 (पथ एक कार्यशील प्रति निर्देशिका नहीं है)"?

इस त्रुटि संदेश में समस्या क्या है?

Xcode दिखा रहा है:

Your path is not a working copy

मुझे क्या करना चाहिए इस मामले के निपटारे के लिए?

+2

सबवर्सन वास्तव में दे दी है एक त्रुटि "आपका पथ एक काम कर रहे तांबे नहीं है"? – Ether

+0

मैं svn में अपने प्रोजेक्ट में परिवर्तनों को अपडेट करने में सक्षम नहीं था .. जब मैं अपनी फ़ाइल पर राइट क्लिक करता हूं तो बदलाव परिवर्तन विकल्प नहीं दिखा रहा है कम से कम एम प्रतीक नहीं दिखा रहा है ...... –

उत्तर

6

ब्लॉग पोस्ट "Xcode, Subversion Error: 155007 (Path is not a working copy directory)" और इसकी टिप्पणी इस तरह की त्रुटि पर काफी अधिक संदर्भ है।

सरल वर्कअराउंड:

  1. अपने स्थानीय प्रतिलिपि (cd myxcodeproject; rm -rf .)
  2. हटाएँ
  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.

अब आप की जरूरत है सर्वर से "build" फ़ोल्डर हटाएँ शुरू करने के लिए परियोजना सही ढंग से alize।
निम्न अनुभागों उस भाग को वर्णन:

यह सही (सामान्य सिद्धांत) कैसे करना है

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.

सही प्रारंभ कदम (विस्तृत प्रक्रिया)

  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 सह https: // svnserver/path/ट्रंक/परियोजना। इसका मतलब है की? –

+0

@ आईक: यह एक उदाहरण के रूप में यहां दिए गए एसवीएन रिपोजिटरी का एक सामान्य मार्ग है। इसका मतलब है कि आपको अपने एसवीएन रेपो पथ द्वारा "एसवीएनएवर/पथ/ट्रंक/प्रोजेक्ट'" को प्रतिस्थापित करने के लिए अपने एसवीएन रिपोजिटरी को चेकआउट करना चाहिए। ठीक बिंदु पर ध्यान दें, जो इंगित करता है कि आप वर्तमान पथ ('' myxcodeproject' 'पर फिर से एसवीएन रेपो को चेकआउट कर रहे हैं, फिर एक उदाहरण के रूप में दिया गया एक सामान्य निर्देशिका नाम)। – VonC

संबंधित मुद्दे