Fix bug in ra_neon with copy-on-update: Neon thinks it knows what a
commitec7863051be5b1008c54c4ea1e773bb2149361ab
authorglasser <glasser@612f8ebc-c883-4be0-9ee0-a4e9ef946e3a>
Tue, 1 Apr 2008 19:40:22 +0000 (1 19:40 +0000)
committerglasser <glasser@612f8ebc-c883-4be0-9ee0-a4e9ef946e3a>
Tue, 1 Apr 2008 19:40:22 +0000 (1 19:40 +0000)
tree04e8ecd221cd3588287dd8acf83744267b26aba3
parente0697b33431fc80331727e519dc03f793ca4f0d4
Fix bug in ra_neon with copy-on-update: Neon thinks it knows what a
legal editor sequence looks like, which includes not having "remove
prop" inside "add file" and "add dir".  Of course, when the add is
with history, this is perfectly legal, so Neon was throwing invalid
XML error.  This fixes that and adds a test.

I suspect there are further issues here: for example, deleting or
opening entries inside an add-with-history directory.  (But the
current implementation doesn't do add-dir-with-history anyway.)

* subversion/libsvn_ra_neon/fetch.c
  (validate_element): Allow remove-prop inside add-directory/file.

* subversion/tests/cmdline/update_tests.py
  (update_copied_and_deleted_prop): New.
  (test_list): Adjust.

Patch by: cmpilato
          me

git-svn-id: http://svn.collab.net/repos/svn/trunk@30161 612f8ebc-c883-4be0-9ee0-a4e9ef946e3a
subversion/libsvn_ra_neon/fetch.c
subversion/tests/cmdline/update_tests.py