def dump_invalid_filtering_option(sbox):
    'dump with --include and --exclude simultaneously'
    sbox.build(create_wc=False, empty=False)
    expected_error = ".*: '--exclude' and '--include' options cannot be used simultaneously"
    svntest.actions.run_and_verify_svnadmin(None, expected_error, 'dump', '-q', '--exclude', '/A/D/H', '--include', '/A/B/E', sbox.repo_dir)
dump with --include and --exclude simultaneously
def dump_invalid_filtering_option(sbox):
    
    sbox.build(create_wc=False, empty=False)
    expected_error = ".*: '--exclude' and '--include' options cannot be used simultaneously"
    svntest.actions.run_and_verify_svnadmin(None, expected_error, 'dump', '-q', '--exclude', '/A/D/H', '--include', '/A/B/E', sbox.repo_dir)