r1023571 | danielsh | 2010-10-17 20:13:44 +0000 (Sun, 17 Oct 2010) Make sure a locally-copied svn:needs-lock file isn't marked read-only. Found by: Paul Maier <svn-user@web.de> Review by: stsp * subversion/tests/cmdline/lock_tests.py (check_writability): New helper. (is_readonly, is_writable): New assertion helpers. (cp_isnt_ro): New test. (test_list): Run new test, passing. * subversion/libsvn_wc/copy.c (copy_versioned_file): Remove read-only permissions from the staged destination file.
r1023647 | danielsh | 2010-10-18 04:08:24 +0000 (Mon, 18 Oct 2010) More non-marking as read-only of locally-added files. This time, for repos->wc copy with the copy source a file. (The case of the copy source being a directory is not yet handled.) Found by: Paul Maier <svn-user@web.de> * subversion/tests/cmdline/lock_tests.py (cp_isnt_ro): Extend test, and tweak comments. * subversion/libsvn_wc/translate.c (svn_wc__maybe_set_read_only): Don't set read-only for status_added files.