Log Message: |
Teach svndumpfilter to accept glob patterns as path prefixes.
* subversion/svndumpfilter/main.c
(parse_baton_t, svndumpfilter_opt_state): New member 'glob'.
(skip_path): New argument 'glob'. Update all callers.
(options enum): New member 'svndumpfilter__glob'.
(options_table): Define '--pattern' as 'svndumpfilter__glob'.
(cmd_table): Add 'svndumpfilter__glob' to 'include' and 'exclude'.
(parse_baton_initialize): Initialize 'glob' in parse_baton_t.
(do_filter): select different verbose messages if globbing is enabled.
(main): Option '--pattern' enables globbing.
* subversion/tests/cmdline/svndumpfilter_tests.py
(_simple_dumpfilter_test): New test helper.
(dumpfilter_with_targets): Rewrite to use _simple_dumpfilter_test.
(dumpfilter_with_patterns) New test for globbing.
|