SVN Error – Not a working copy

Read Time:37 Second

I got into a similar situation (svn: 'papers' is not a working copy directory) a different way, so I thought I’d post my battle story (simplified):

(This article is from

$ svn add papers
svn: Can't create directory 'papers/.svn': Permission denied

Oops! fix permissions… then:

$ svn add papers
svn: warning: 'papers' is already under version control
$ svn st
~     papers
$ svn cleanup
svn: 'papers' is not a working copy directory

And even moving papers out of the way and running svn up (which worked for the OP) didn’t fix it. Here’s what I did:

$ mv papers papers_
$ svn cleanup
$ svn revert papers
Reverted 'papers'
$ mv papers_/ papers
$ svn add papers

That worked.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.