/[Apache-SVN]
ViewVC logotype

Revision 880381


Jump to revision: Previous Next
Author: brane
Date: Fri Oct 30 00:37:16 2009 UTC (15 years, 1 month ago)
Changed paths: 2
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.


Changed paths

Path Details
Directorysubversion/trunk/subversion/svndumpfilter/main.c modified , text changed
Directorysubversion/trunk/subversion/tests/cmdline/svndumpfilter_tests.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26