Mikhail Terekhov <terekhov@emc.com>


Found
r862166

r862166 | rooneg | 2006-10-23 21:07:48 +0000 (Mon, 23 Oct 2006)

Fix a problem with syncing copies of paths that contain non-url-safe
characters.  We needed to uri encode the copyfrom paths before we use
them.

Found by: Mikhail Terekhov <terekhov@emc.com>

* subversion/svnsync/main.c
  (add_directory, add_file): URI encode copyfrom_path before using it.

* subversion/tests/cmdline/svnsync_tests.py
  (url_encoding): New test.
  (test_list): Run new test.

* subversion/tests/cmdline/svnsync_tests_data/url-encoding-bug.dump: New data
  file for tests.