# SVN and 'rake doc'

**URL:** <https://www.ruby-forum.com/t/svn-and-rake-doc/48946>\
**Category:** Rails\
**Created:** [November 27, 2005, 11:40am UTC](https://www.ruby-forum.com/t/svn-and-rake-doc/48946 "2005-11-27T11:40:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![archangel77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6a8cbe/32.png) [@archangel77](https://www.ruby-forum.com/u/archangel77)\
**Post date:** [November 27, 2005, 11:40am UTC](https://www.ruby-forum.com/t/svn-and-rake-doc/48946/1 "2005-11-27T11:40:29Z")

</div>

Hello!

It seems like the ‘doc’ task of rake doesn’t play well with SVN:  
After running “rake doc” for a changed file, the “svn status” command  
shows a tilde before the doc/app directory. When I run “svn update” I  
get the error message “Working copy ‘doc/app’ is missing or not locked”.  
I then have to delete the app directory to be able to run “svn update”,  
losing my newly generated documentation.

What causes this error and what can I do to avoid the error?  
How can I generate the rdoc and still be able to use SVN?  
Is this some configuration error on my part or is this a problem with  
the rakefile?

I’m using RoR 0.13 on Mac OS X 10.4.3 with the SVN command line client  
1.2.3

---

<div class="post-metadata">

**Author:** ![archangel77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6a8cbe/32.png) [@archangel77](https://www.ruby-forum.com/u/archangel77)\
**Post date:** [November 27, 2005, 11:47am UTC](https://www.ruby-forum.com/t/svn-and-rake-doc/48946/2 "2005-11-27T11:47:49Z")

</div>

Do you not have to add the files to the repository before updating,  
via ‘svn add newfile.txt’? I may have misunderstood, but i think you  
have missed out adding the files.

---

<div class="post-metadata">

**Author:** ![archangel77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6a8cbe/32.png) [@archangel77](https://www.ruby-forum.com/u/archangel77)\
**Post date:** [November 27, 2005, 12:17pm UTC](https://www.ruby-forum.com/t/svn-and-rake-doc/48946/3 "2005-11-27T12:17:22Z")

</div>

lists wrote:

> Do you not have to add the files to the repository before updating,  
> via ‘svn add newfile.txt’? I may have misunderstood, but i think you  
> have missed out adding the files.

I have added the files some revisions ago and I have an old version of  
the generated documentation in my repository.
