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

Re: Error E145001

From: Branko Čibej <brane_at_apache.org>
Date: Tue, 6 Nov 2018 15:41:01 +0100

On 06.11.2018 13:29, xxsawer_at_seznam.cz wrote:
> Hello,
> I am trying to remove symbolic link that is currently under version control but with keeping it in the file system. I try to do it like this:
> svn delete --keep-local xyz
>
> When now trying to commit this change, I get following error:
> svn: E145001: Commit failed (details follow):
> svn: E145001: Entry 'xyz' has unexpectedly changed special status
>
> svn --version
> svn, version 1.7.14 (r1542130)
>
> Is this a bug or just wrong approach?

It's a bug in a version of Subversion that's far too old. You really
should upgrade if you can; 1.7.x and 1.8.x are no longer supported.

It works with 1.11:

$ svnadmin create repo
$ svn co file://$(pwd)/repo wc
Checked out revision 0.
$ ln -s foo wc/bar
$ svn add wc/bar
A wc/bar
$ svn ci -mm wc
Adding wc/bar
Transmitting file data .done
Committing transaction...
Committed revision 1.
$ svn rm --keep-local wc/bar
D wc/bar
$ svn ci -mm wc
Deleting wc/bar
Committing transaction...
Committed revision 2.
$ svn st wc
? wc/bar
$ ls -l wc
total 0
lrwxr-xr-x 1 brane staff 3 6 Nov 15:36 bar -> foo

-- Brane
Received on 2018-11-06 15:41:11 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.