cvs2git with modules?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
	I'm trying to use cvs2svn in cvs2git mode to convert a repo with a number of modules.  
Can anyone tell me how to keep that module structure in the new git repo?  So, if in cvs there are two modules, 
ModA and ModB, I want to see those two as top level directories in the git repo.

I've tried putting adding the projects in my options file as below, but it puts the files ModA/* and ModB/* at the top level in the git repo.


run_options.add_project(
    r'/home/foo/cvsrepo/ModA,
    trunk_path=ModA',
    symbol_transforms=[
        ReplaceSubstringsSymbolTransform('\\','/'),
        NormalizePathsSymbolTransform(),
        ],
    symbol_strategy_rules=[
        UnambiguousUsageRule(),
        BranchIfCommitsRule(),
        HeuristicStrategyRule(),
        HeuristicPreferredParentRule(),
        ],
    )

run_options.add_project(
    r'/home/foo/cvsrepo/ModB,
    trunk_path=ModB',
    symbol_transforms=[
        ReplaceSubstringsSymbolTransform('\\','/'),
        NormalizePathsSymbolTransform(),
        ],
    symbol_strategy_rules=[
        UnambiguousUsageRule(),
        BranchIfCommitsRule(),
        HeuristicStrategyRule(),
        HeuristicPreferredParentRule(),
        ],
    )


-- 
 
Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh@xxxxxxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux