Søren Thing Andersen


Found
r1186944

r1186944 | stsp | 2011-10-20 17:28:11 +0000 (Thu, 20 Oct 2011)

Fix an assertion failure when updating a symlink. The client's method of
determining whether an incoming file is a symlink was faulty.

Reported by: Søren Thing Andersen

* subversion/tests/cmdline/special_tests.py
  (update_symlink): New test. Triggers an assertion failure with 1.7.0.

* subversion/libsvn_wc/update_editor.c
  (close_file): If the status of a symlink doesn't change, the server
   won't send a property change, so don't expect to see a property change
   for svn:special if the update doesn't change the property.
   Also, correctly handle incoming deletion of svn:special, in which
   case the server sends a NULL value for svn:special.