Hi.

svn version 1.7.0 has an issue with changed symbolic links when updating.
Steps to reproduce:

# Create repository and working copy
    svnadmin create repos
    svn co file://`pwd`/repos wc
    cd wc

# Submit revision with a link to a directory
    mkdir dir-v1
    ln -s dir-v1 dir
    svn add dir-v1 dir
    svn ci -m "version 1"

# Submit new revision with new dir and changed link
    mkdir dir-v2
    rm dir
    ln -s dir-v2 dir
    svn add dir-v2
    svn ci -m "Verssion 2 - new dir and changed link"


# Checking out HEAD is OK:
    cd ..
    svn co file://`pwd`/repos wc2

# Checking out -r1 is OK:
    svn co -r 1 file://`pwd`/repos wc3

# But updating breaks on the changed link:
    svn up wc3

The last command dies:
$ svn up wc3
Updating 'wc3':
A    wc3/dir-v2
svn: E235000: In file 'subversion/libsvn_wc/update_editor.c' line 1582: assertion failed (action == svn_wc_conflict_action_edit || action == svn_wc_conflict_action_delete || action == svn_wc_conflict_action_replace)
Abort trap: 6 (core dumped)


Svn is built from ports on FreeBSD.
$ svn --version -q
1.7.0
$ uname -a
FreeBSD pizza.netimage.dk 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

If you need more information, I would be glad to provide it.

Best regards
    Søren Thing

PS: Thanks for alle the good work!

Reply via email to