1 # (Be in -*- python -*- mode.)
3 # Fix a problem with multiply-defined symbols by renaming one copy of
6 from cvs2svn_lib.symbol_transform import SymbolMapper
8 execfile('cvs2svn-example.options')
10 name = 'multiply-defined-symbols'
12 ctx.output_option = NewRepositoryOutputOption(
13 'cvs2svn-tmp/%s--options=cvs2svn-rename.options-svnrepos' % (name,),
16 run_options.clear_projects()
18 filename = 'test-data/%s-cvsrepos/proj/default,v' % (name,)
19 symbol_mapper = SymbolMapper([
20 (filename, 'BRANCH', '1.2.4', 'BRANCH2'),
21 (filename, 'TAG', '1.2', 'TAG2'),
24 run_options.add_project(
25 r'test-data/%s-cvsrepos' % (name,),
27 branches_path='branches',
32 symbol_strategy_rules=global_symbol_strategy_rules,