You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Meryl Silverburgh <si...@gmail.com> on 2007/02/21 19:27:09 UTC

Problems in adding a subdirectory to directory

Hi,
I am not sure if this is a bug. I think I somehow get subversion is a
weired state.

I am trying to add directory canvas to subversion.

$ cd to parent of canvas
$ svn stat canvas
  L    canvas
D     canvas/Makefile.in
~     canvas/src
D     canvas/public

But it said I have 'locked' canvas.

When I try to add 'canvas/src'
$ svn add canvas/src
svn: Working copy 'canvas' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

When i tried to unlock it, it said it is no under version control
$ svn unlock canvas
svn: 'canvas' is not under version control

I have tried 'svn cleanup' but it does not solve my problem.

How can I get cleanup subversion state and add directory 'canvas' to repository?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Problems in adding a subdirectory to directory

Posted by Ben Collins-Sussman <su...@red-bean.com>.
Hi, you should send requests-for-help to users@subversion.tigris.org
in the future.  This list is for the discussion of subversion's own
development.

The "L" means that the working copy was interrupted in the process of
working, and only 'svn cleanup' can finish the work.  It has nothing
to do with the 'svn lock/unlock' commands, which is an entirely
different sort of lock.  If 'svn cleanup' did not remove the 'L' code,
then resend your mail to the users@ list and someone can help dive
deeper into the problem.

On 2/21/07, Meryl Silverburgh <si...@gmail.com> wrote:
> Hi,
> I am not sure if this is a bug. I think I somehow get subversion is a
> weired state.
>
> I am trying to add directory canvas to subversion.
>
> $ cd to parent of canvas
> $ svn stat canvas
>   L    canvas
> D     canvas/Makefile.in
> ~     canvas/src
> D     canvas/public
>
> But it said I have 'locked' canvas.
>
> When I try to add 'canvas/src'
> $ svn add canvas/src
> svn: Working copy 'canvas' locked
> svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
>
> When i tried to unlock it, it said it is no under version control
> $ svn unlock canvas
> svn: 'canvas' is not under version control
>
> I have tried 'svn cleanup' but it does not solve my problem.
>
> How can I get cleanup subversion state and add directory 'canvas' to repository?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org