Node '....' has unexpectedly changed kind, after svn upgrade

2,570 views
Skip to first unread message

hankin

unread,
Sep 16, 2014, 2:22:15 AM9/16/14
to us...@subversion.apache.org
Hello,

I just upgraded to svn 1.8.8
It asked me to run "svn upgrade" so I did.

But now when I try to commit a folder, it says...
Node '....' has unexpectedly changed kind

I haven't changed this file for many months.

When I run "svn  info ...", it says it's a file and it is a file so there is nothing wrong.
Node Kind: file

I've tried removing the file and running "svn update" on the file, but still the same error.

Thank you.

Philip Martin

unread,
Sep 16, 2014, 6:38:21 AM9/16/14
to hankin, us...@subversion.apache.org
hankin <han...@theinternetemail.com> writes:

> It asked me to run "svn upgrade" so I did.
>
> But now when I try to commit a folder, it says...
> Node '....' has unexpectedly changed kind
>
> I haven't changed this file for many months.
>
> When I run "svn info ...", it says it's a file and it is a file so there
> is nothing wrong.
> Node Kind: file

This error can occur if you add/delete the svn:special property. Are
you on Windows or Unix? Do you have versioned symlinks in the
repository? What do 'svn status' and 'svn diff' show for the file?

--
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*

hankin

unread,
Sep 16, 2014, 7:48:16 AM9/16/14
to Philip Martin, users
The status was ~

Something was definitely broken.

When I remove the file and run "svn update", it is a normal file but with only one line.  But the file has many lines and is a normal file.
The status is still ~ after removing and updating.

But if I change the file to a symlink, the status is M

Anyways, I changed it to a link, removed the file, copied back the data, and added it again.  It's ok now.

Thanks.



Branko Čibej

unread,
Sep 16, 2014, 8:04:00 AM9/16/14
to us...@subversion.apache.org
On 16.09.2014 13:21, hankin wrote:
> The status was ~
>
> Something was definitely broken.
>
> When I remove the file and run "svn update", it is a normal file but
> with only one line. But the file has many lines and is a normal file.
> The status is still ~ after removing and updating.
>
> But if I change the file to a symlink, the status is M
>
> Anyways, I changed it to a link, removed the file, copied back the
> data, and added it again. It's ok now.

The most likely explanation is that something (perhaps an editor?)
replaced the symlink with a file that contained the symlink target's
contents. Subversion wouldn't do that itself.

-- Brane

Reply all
Reply to author
Forward
0 new messages