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

Confusing error: "Cannot replace a directory from within"

From: Guido van Rossum <guido_at_python.org>
Date: 2007-05-08 18:30:38 CEST

Dear svn developers,

I tried svn switch the other day with an invalid branch URL. It gave
me the mysterious error message "Cannot replace a directory from
within". After a web search, mostly finding lots of other folks
confused by the same thing. After nearly giving up, I finally realized
the cause was a typo in my branch name. I wonder if there couldn't be
a better diagnostic in this case? My command was

    svn switch svn+ssh://pythondev@svn.python.org/python/branches/py3k-unistr

Surely there's no other interpretation for that argument string than
as a branch URL that would preclude detecting the situation and
printing a better message?

I showed this to Ben Collins-Sussman who siggested to post here.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 10 02:41:51 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.