Paul Maier <>

r1023647, r1023571

r1023647 | danielsh | 2010-10-17 23:08:24 -0500 (Sun, 17 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 <>

* subversion/tests/cmdline/
  (cp_isnt_ro):  Extend test, and tweak comments.

* subversion/libsvn_wc/translate.c
    Don't set read-only for status_added files.

r1023571 | danielsh | 2010-10-17 15:13:44 -0500 (Sun, 17 Oct 2010)

Make sure a locally-copied svn:needs-lock file isn't marked read-only.

Found by: Paul Maier <>
Review by: stsp

* subversion/tests/cmdline/
  (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
    Remove read-only permissions from the staged destination file.