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

Re: Usability issue: svn export of nonexistent directory reports "Cannot replace a directory from within"

From: <kfogel_at_collab.net>
Date: 2005-05-08 23:00:18 CEST

Richard Tibbetts <tibbetts@alum.MIT.EDU> writes:
> I'm new to subversion. I was just working with svn export for the
> first time, and accidentally called export on a nonexistent directory
> in the repository. This got me the unhelpful error message "Cannot
> replace a directory from within," which lead me to thinking I had
> corrupted the repository or something similarly unfortunate. Of
> course, it turns out I was just trying to export a nonexistant
> directory. It would be nice if there were more arguments checking or
> error handling, such that a more informative error could be generated.
>
> I observed this behavior on both subversion 1.0.6 with a 1.1.1 ssh+svn
> server, and with 1.1.1 against the same server. I then wrote a script
> to reproduce it locally and that worked against 1.1.1. I've attached
> the script. I'm happy to provide any other information that would be
> helpful.
>
> I'm not on dev@subversion, though I will try to keep track of
> discussion via the archives.

I just get this error, using your script:

   "svn: No such file or directory"

This is with Subversion 1.2.x (almost rc3, the candidate which will be
released tomorrow).

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 8 23:34:24 2005

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.