2009-11-19 12 views
13

मैं अपने ग्रहण प्रोजेक्ट पर कोई सबवर्जन ऑपरेशन नहीं कर सकता क्योंकि सबक्लिसे फ़ाइल का नाम बदल नहीं सकता है। त्रुटि है:उपclip फ़ाइल का नाम नहीं बदल सकता है (ओएस एक्स)

Caused by: org.tigris.subversion.javahl.ClientException: svn: Cannot rename file '/Users/damianharvey/Sites/Odyssey3.5/OdysseyEDIJAXB/src/com/locuslive/edi/edifact/d95b/coreor/.svn/tmp/entries' to '/Users/damianharvey/Sites/Odyssey3.5/OdysseyEDIJAXB/src/com/locuslive/edi/edifact/d95b/coreor/.svn/entries' 
at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:777) 
at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1850) 
at org.tmatesoft.svn.core.javahl.SVNClientImpl.cleanup(SVNClientImpl.java:863) 
at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.cleanup(AbstractJhlClientAdapter.java:1958) 
... 8 more 
Caused by: org.tmatesoft.svn.core.SVNException: svn: Cannot rename file '/Users/damianharvey/Sites/Odyssey3.5/OdysseyEDIJAXB/src/com/locuslive/edi/edifact/d95b/coreor/.svn/tmp/entries' to '/Users/damianharvey/Sites/Odyssey3.5/OdysseyEDIJAXB/src/com/locuslive/edi/edifact/d95b/coreor/.svn/entries' 

मैं ओएसएक्स हिम तेंदुए, ग्रहण 3.5, सबक्लिप्स 1.6.5 चला रहा हूं।

यह अनुमति अनुमति की तरह दिखता है। अगर मैं गलती से निर्देशिका की सूची मैं:

drwxrwxrwx 8 damianharvey staff 272 19 Nov 17:43 . 
drwxrwxrwx 16 damianharvey staff 544 21 Sep 14:53 .. 
-r--r--r-- 1 damianharvey staff 2030 21 Sep 14:53 all-wcprops 
-r--r--r-- 1 damianharvey staff 2313 21 Sep 14:53 entries 
drwxrwxrwx 2 damianharvey staff 68 21 Sep 14:53 prop-base 
drwxrwxrwx 2 damianharvey staff 68 21 Sep 14:53 props 
drwxrwxrwx 15 damianharvey staff 510 21 Sep 14:53 text-base 
drwxrwxrwx 6 damianharvey staff 204 19 Nov 17:19 tmp 

तो मुझे लगता है कि यह केवल पढ़ने के लिए अनुमतियाँ जाता है कि इस रोक रही है। यदि मैं इसे बहुत व्यापक 777:

sudo chmod 777 /Users/damianharvey/Sites/Odyssey3.5/OdysseyEDIJAXB/src/com/locuslive/edi/edifact/d95b/coreor/.svn/entries 
chmod: Unable to change file mode on /Users/damianharvey/Sites/Odyssey3.5/OdysseyEDIJAXB/src/com/locuslive/edi/edifact/d95b/coreor/.svn/entries: Operation not permitted 

कोई विचार नहीं है? काफी मेरा कोड प्रतिबद्ध करना चाहते हैं।

बहुत धन्यवाद।

उत्तर

35

कोई चिंता नहीं। चाची गूगल के लिए मुझे

chflags -R nouchg . 

यह पाया comments here से:

If you're changing workspaces on OS X and you import an SVN-based project into your new workspace, some of your files may have the uchg flag set. SubClipse/SVN will not be able to update this project. You will get an error:

svn: Cannot rename file

every time you try invoke svn. If you issue:

chflags -R nouchg .

at the top-level of the project directory this will clear these flags and restore SVN function.

+0

मैं तुम्हें एक बार हर बार जब मैं इस उत्तर का उपयोग किया है के लिए मतदान कर सकता है, तो आप सिर्फ जॉन स्कीट के लिए एक रन दे सकता है उसकी पैसे। –

+0

+1 महान, मेरे लिए काम किया (ओएसएक्स 10.6.6) – Dori

+0

++ धन्यवाद चाची Google (और आप डेमो) –