All of lore.kernel.org
 help / color / mirror / Atom feed
* cvs2git with  modules?
@ 2008-06-17 11:21 Kelly F. Hickel
  2008-06-17 15:45 ` Michael Haggerty
  0 siblings, 1 reply; 5+ messages in thread
From: Kelly F. Hickel @ 2008-06-17 11:21 UTC (permalink / raw)
  To: git

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@mqsoftware.com

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <63BEA5E623E09F4D92233FB12A9F794302389AC6@emailmn.mqsoftware.com>]

end of thread, other threads:[~2008-06-18 20:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-17 11:21 cvs2git with modules? Kelly F. Hickel
2008-06-17 15:45 ` Michael Haggerty
2008-06-17 18:02   ` Geoffrey Irving
2008-06-17 18:06     ` Geoffrey Irving
     [not found] <63BEA5E623E09F4D92233FB12A9F794302389AC6@emailmn.mqsoftware.com>
2008-06-18 20:24 ` Kelly F. Hickel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.