Folder is not under version control and is not par

2020-03-24 05:12发布

问题:

I'm developing an iOS app with XCode 4.2 and latest SDK.

I have added to my project a folder with several files. This folder is a real folder in Finder.

When I try to commit those files I get the following message:

svn: Commit failed (details follow):
svn: '/Users/User1/Fuentes/iPhone/Desarrollos/TurismoCR2/TurismoCR2/Descripciones' is not under version control and is not part of the commit, yet its child '/Users/User1/Fuentes/iPhone/Desarrollos/TurismoCR2/TurismoCR2/Descripciones/021es.html' is part of the commit

How can I fix this error?

Probably I could add these files and folder manually but I don't know how (and I don't want to make a mistake).

回答1:

You need to do:

cd /Users/User1/Fuentes/iPhone/Desarrollos/TurismoCR2/TurismoCR2

then:

svn add Descripciones/


回答2:

Try this:

step 1: svn ci

step 2: Then vim or vi will be automatically offered by the svn (with svn diff file name) then type the required string or massage and save it.

Done.



标签: ios xcode svn