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

Re: E000021 on merge when replacing a symlink with a directory in subversion-1.7.2 on linux.

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 11 Jan 2012 16:59:54 +0000

Duncan Exon Smith <duncanphilipnorman_at_gmail.com> writes:

> Please let me know whether I'm doing something wrong, or if I should go
> ahead and post this to the issue tracker.

Yes, please raise an issue. A shorter recipe:

svnadmin create repo
svn co file://`pwd`/repo wc
svn mkdir wc/A
ln -s A wc/B
svn add wc/B
svn ci -mm wc
svn rm wc/B
svn mkdir wc/B
svn ci -mm wc
svn up -r1 wc
svn merge -c2 wc wc
../src/subversion/svn/util.c:913: (apr_err=21)
../src/subversion/libsvn_client/merge.c:10827: (apr_err=21)
../src/subversion/libsvn_client/merge.c:10791: (apr_err=21)
../src/subversion/libsvn_client/merge.c:10791: (apr_err=21)
../src/subversion/libsvn_client/merge.c:8972: (apr_err=21)
../src/subversion/libsvn_client/merge.c:8591: (apr_err=21)
../src/subversion/libsvn_client/merge.c:5052: (apr_err=21)
../src/subversion/libsvn_client/ra.c:248: (apr_err=21)
../src/subversion/libsvn_client/ra.c:248: (apr_err=21)
../src/subversion/libsvn_repos/reporter.c:1278: (apr_err=21)
../src/subversion/libsvn_repos/reporter.c:1214: (apr_err=21)
../src/subversion/libsvn_repos/reporter.c:902: (apr_err=21)
../src/subversion/libsvn_client/repos_diff.c:619: (apr_err=21)
../src/subversion/libsvn_client/repos_diff.c:511: (apr_err=21)
../src/subversion/libsvn_client/merge.c:2077: (apr_err=21)
../src/subversion/libsvn_client/merge.c:2007: (apr_err=21)
../src/subversion/libsvn_subr/io.c:3081: (apr_err=21)
svn: E000021: Can't read file '/home/pm/sw/subversion/obj/wc/B': Is a directory

-- 
Philip
Received on 2012-01-11 18:00:37 CET

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

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