Re: Replacing directory by circular symlink produces malformed XML
On 28.02.2019 22:44, Denis Excoffier wrote:
> The situation of the replacement of a directory by a circular symlink
> generates an XML fragment which is invalid, hence triggers a failure
> within the calling system. See hereafter the recipe.
> Starting from a clean folder, do the following:
> % svn mkdir 1
> A 1
> % rmdir 1
> % ln -s 1 1
> % touch 2
> % svn status --xml
> <?xml version="1.0" encoding="UTF-8"?>
> svn: E000062: Can't open directory '/Users/dexco/svntest/svn/1': Too many levels of symbolic links
> There is a missing end tag for <target> and <status>.
> Another issue is missing output: path '2' is not listed.
> The correction of these issues will be much appreciated (i use 1.11.1).
You can't expect valid output from a command that fails. I'd have
thought that was obvious?
Received on 2019-03-01 11:53:04 CET
This is an archived mail posted to the Subversion Users