/[Apache-SVN]
ViewVC logotype

Revision 1878141


Jump to revision: Previous Next
Author: futatuki
Date: Tue May 26 23:00:09 2020 UTC (4 years, 5 months ago)
Changed paths: 1
Log Message:
Follow-up to r1877712: entries-dump: Use escape string-typed value for two 
more char * type values.

* subversion/tests/cmdline/entries-dump.c
  (print_prefix): Add new Python function _to_str and then use it in
  Entry.set_strval.
  (print_as_bytes): New function.
  (str_value):
  - Quote human-readable value when print it.
  - Use print_as_bytes to print the value of "value" 
  (entries_dump):
  - Use iterpool in the loop to print each entry.
  - Use an escaped string for the key value of the "entries" dict object.
  (tree_dump_dir): Use an escaped string for the key value of the "dirs"
  dict object.

Reported by: jcorvel
Tested by: jcorvel


Changed paths

Path Details
Directorysubversion/trunk/subversion/tests/cmdline/entries-dump.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26