[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: Roger Périat <roger.periat_at_bluewin.ch>
Date: Thu, 7 Nov 2019 15:59:04 +0100

Many thanks to all who responded and explained the behaviour!
Great mailing list!

Am 07.11.2019 um 15:02 schrieb Daniel Shahaf:
> 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:59:17 CET

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