Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use svn to commit a folder a checked out before and I get the message "containing working copy admin area is missing"

This is the command I used:

svn commit -m svn: /home/user/workspace/data/xyz

The path /home/user/workspace/data/xyz is on my local pc where xyz is the folder I checked out before.

share|improve this question
    
It seems the checkout copy is not completed, i.e., have you pressed Ctrl-C in previous svn checkout command? –  Xiè Jìléi May 12 '12 at 3:00
    
Why are you passing that argument? The -m switch is to specify the commit message. You seem to be using the path as the log message. If you want to commit the changes to that directory, then you need to run svn commit while in that directory. –  psusi May 12 '12 at 3:08
add comment

1 Answer

You may have to check out another working copy, and move your changes to the new copy, but be careful skip the .svn/ files:

data$ cp -a xyz xyz.bak
data$ cd xyz
data/xyz$ find -type d -name .svn -prune | xargs rm -fr
data/xyz$ cd ..
data$ mv xyz xyz-broken
data$ svn checkout ... xyz-new
data$ cp -R xyz-broken/* xyz-new/

Umm.. I have not tested the script, hope it works!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.