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

Re: svn copy twice to same folder creates unexpeted subfolder in destination

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 07 Nov 2019 14:02:36 +0000

Branko Čibej wrote on Thu, 07 Nov 2019 13:41 +00:00:
> $ mkdir -p foo/bar
> $ touch foo/qux foo/bar/baz
> $ cp -R foo zzz
> $ cp -R foo zzz

FWIW, creating the tag with svnmucc would give that same E160020 error
after the first time:

% svnadmin create r
% svn mkdir -qmm file://$PWD/r/{trunk,tags}
% svnmucc -mm -U file://$PWD/r cp HEAD trunk tags/foo
r2 committed by daniel at 2019-11-07T13:57:38.875668Z
% svnmucc -mm -U file://$PWD/r cp HEAD trunk tags/foo
./subversion/svnmucc/svnmucc.c:179,
./subversion/libsvn_client/mtcc.c:541,
./subversion/libsvn_client/mtcc.c:472: (apr_err=SVN_ERR_FS_ALREADY_EXISTS)
svnmucc: E160020: Path 'tags/foo' already exists
zsh: exit 1 svnmucc -mm -U file://$PWD/r cp HEAD trunk tags/foo
%
Received on 2019-11-07 15:03:12 CET

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