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

Re: Switch a file to a dir: can't switch it back to the file

From: C.Michael Pilato <cmpilato_at_collab.net>
Date: 2003-09-23 01:20:45 CEST

Julian Foad <julianfoad@btopenworld.com> writes:

> This can't be right. Any ideas? Reproduction script and its output
> are below; the error is right at the end of the output.

[...]

> + svn switch file:///home/julianfoad/tmp/svn-switch-test/repos/f f
> /home/julianfoad/src/subversion/subversion/libsvn_repos/delta.c:209: (apr_err=160005)
> svn: Invalid filesystem path syntax
> svn: svn_repos_dir_delta: invalid editor anchoring; at least one of
> the input paths is not a directory and there was no source entry

Nope, something's definitely wrong there. You should be able to work
around this by switching the parent directory to itself, but yeah,
this is a code-path not well-tested. The failure is likely based on
the differences in the ways that dirs and files are translated into
anchors/targets for editor operations.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 23 01:21:58 2003

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.