Damien Deville <damien.deville@netasq.com>


Found
r875114

r875114 | pburba | 2009-01-06 15:31:29 +0000 (Tue, 06 Jan 2009)

Allow colons within mergeinfo path names.

Previously a mergeinfo pathname containing colons produced a parsing error.

Found by: Damien Deville <damien.deville@netasq.com>

* subversion/libsvn_subr/mergeinfo.c
  (parse_pathname): Permit colons in the pathname.

* subversion/tests/libsvn_subr/mergeinfo-test.c
  (NBR_MERGEINFO_VALS, mergeinfo_vals, mergeinfo_paths, mergeinfo_ranges):
  Add some test cases for test_parse_single_line_mergeinfo() which have
  pathnames with colons.
  (NBR_BROKEN_MERGEINFO_VALS, broken_mergeinfo_vals):
  Add some test cases for test_parse_broken_mergeinfo() which have
  pathnames with colons.
  (test_merge_mergeinfo): Add some colons to pathnames.