/[Apache-SVN]
ViewVC logotype

Revision 1868203


Jump to revision: Previous Next
Author: kotkov
Date: Wed Oct 9 21:51:03 2019 UTC (4 years, 5 months ago)
Changed paths: 2
Log Message:
Normalize line endings in node properties (such as svn:ignore) when loading
dumps with `svnadmin load --normalize-props`.

Previously, this command would only normalize revision properties, but
do nothing for node properties.

The problem has been reported by a user in the following thread:
https://lists.apache.org/thread.html/86a018501fde594b4ebf4080143bcb9562b0482d794206e27de86836@%3Cusers.subversion.apache.org%3E

* subversion/libsvn_repos/load-fs-vtable.c
  (change_node_prop): Accept the new `normalize_props` argument, call
   svn_repos__normalize_prop() for the property if it is set.
  (set_node_property, delete_node_property, remove_node_props):
   Update calling sites of the change_node_prop() function, pass the
   stored `normalize_props` state of the parser.

* subversion/tests/cmdline/svnadmin_tests.py
  (load_normalize_node_props): New regression test.
  (test_list): Add new test.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_repos/load-fs-vtable.c modified , text changed
Directorysubversion/trunk/subversion/tests/cmdline/svnadmin_tests.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26