You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tennebø Frode <fr...@saabgroup.com> on 2010/07/22 11:31:16 UTC

Checking: svn: '/foo/libcau' is not a working copy

When I try to check in several directories I get the following error:

ft@tr:/foo>svn ci lib*/*
Checking: svn: '/foo/libcau' is not a working copy
ft@tr:/foo>svn ci librlib/* libhci/* libcru/* libcau/*
Checking: svn: '/foo/libcau' is not a working copy

The error-message in itself is correct;  'libcau' is not under version control, nor are any of the other top-level directories.  However, inside these directories I have sub-directories which contain the actual code:

ft@tr:/foo>ls -l libcau/
total 184
drwxrws--- 3 ft ftgr  4096 2010-05-07 09:10 adt
drwxrws--- 3 ft ftgr  4096 2010-05-19 09:33 bal
drwxrws--- 3 ft ftgr  4096 2010-05-19 09:33 bis_eval
drwxrws--- 3 ft ftgr  4096 2010-05-07 09:09 bis_utl
drwxrws--- 3 ft ftgr  4096 2010-05-19 09:33 clt_ctrl
drwxrws--- 3 ft ftgr  4096 2010-05-19 09:33 dbc_err
:

So, normal shell (this is linux) expansion should not include 'libcau' (on it's own) in the list of directories to be committed.  And indeed, testing with a different svn command yields:

ft@tr:/foo>svn st lib*/*
Status against revision:    894
Status against revision:    894
Status against revision:    894
Status against revision:    894
:

...all fine, and:

ft@tr:/foo>cd libcau/
ft@tr:/foo>svn st .
svn: warning: '.' is not a working copy 

...as expected.  What is going on?  

 -Frode

RE: Checking: svn: '/foo/libcau' is not a working copy

Posted by Tennebø Frode <fr...@saabgroup.com>.
Ryan,

> AFAIK if you're going to commit several things at once, they 
> need to all reside in a common parent directory that is a 
> working copy of the same repository.

Thanks for your help.  While not immediately obvious, this was in fact the problem.  Also, thank you for your time and effort on the list to help us less experienced with the intricacies of SVN.

Regards,
 -Frode
-- 
^ Frode Tennebø               | email: Frode.Tennebo@saabgroup.com ^
| Saab Technologies Norway AS | Isebakkeveien 49                   |
| N-1788 Halden               | Phone: +47 45 24 99 39             |
| with Standard.Disclaimer; use Standard.Disclaimer;               |  

Re: Checking: svn: '/foo/libcau' is not a working copy

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 22, 2010, at 06:31, Tennebø Frode wrote:

> When I try to check in several directories I get the following error:
> 
> ft@tr:/foo>svn ci lib*/*
> Checking: svn: '/foo/libcau' is not a working copy
> ft@tr:/foo>svn ci librlib/* libhci/* libcru/* libcau/*
> Checking: svn: '/foo/libcau' is not a working copy
> 
> The error-message in itself is correct;  'libcau' is not under version control, nor are any of the other top-level directories.  However, inside these directories I have sub-directories which contain the actual code:
> 
> ft@tr:/foo>ls -l libcau/
> total 184
> drwxrws--- 3 ft ftgr  4096 2010-05-07 09:10 adt
> drwxrws--- 3 ft ftgr  4096 2010-05-19 09:33 bal
> drwxrws--- 3 ft ftgr  4096 2010-05-19 09:33 bis_eval
> drwxrws--- 3 ft ftgr  4096 2010-05-07 09:09 bis_utl
> drwxrws--- 3 ft ftgr  4096 2010-05-19 09:33 clt_ctrl
> drwxrws--- 3 ft ftgr  4096 2010-05-19 09:33 dbc_err
> :
> 
> So, normal shell (this is linux) expansion should not include 'libcau' (on it's own) in the list of directories to be committed.

AFAIK if you're going to commit several things at once, they need to all reside in a common parent directory that is a working copy of the same repository.