[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Obstructed update

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-12-16 17:12:10 CET

Sebastian Bergmann <sb@sebastian-bergmann.de> writes:

> > I assume ac-helpers was a file, what did it contain?
>
> How could it be a file? It's a directory in the subversion repository
> that was created during checkout:
>
> sb@wopr-mobile:/usr/src/subversion> ll ac-helpers/
> total 108
> -rw-r--r-- 1 sb users 2870 Dec 15 12:38 apr.m4
> -rw-r--r-- 1 sb users 3410 Dec 15 12:38 aprutil.m4
> ...

The error message was "no longer a directory"

    sb@wopr-mobile:/usr/src/subversion> svn up
    svn: Obstructed update
    svn: The entry 'ac-helpers' is no longer a directory,
    which prevents proper updates.
    Please remove this entry and try updating again.

and I can only generate that error if ac-helpers is a file.

> > What does 'svn status' show?
>
> After the checkout it showed nothing. After the "svn up" with the
> "Obstructed update" message it shows:
>
> sb@wopr-mobile:/usr/src/subversion> svn status
> L .
> L ac-helpers
>
> I guess that the lock was created because of the obstructed update.

It's not supposed to leave a lock unless there are log files present,
and would expect the "no longer a directory" error to get generated
before any log files get created.

Is there a file .svn/log? If so, what does it contain?
Is there a file ac-helpers/.svn/log? If so, what does it contain?

Which version of Subversion are you using? Did you build it yourself?
Do the regression tests pass?

> "svn cleanup" yields
>
> sb@wopr-mobile:/usr/src/subversion> svn cleanup
> svn: subversion/libsvn_subr/path.c:149: svn_path_join:
> Assertion `is_canonical (component, clen)' failed.
> Aborted

That should not happen either. Can you print a stack trace:

$ gdb /path/to/svn
(gdb) r cleanup
(gdb) bt

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 16 17:12:52 2002

This is an archived mail posted to the Subversion Dev mailing list.