~brook/bzr-cvsps-import/fix-402690-788914-788915

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: John Arbash Meinel
  • Date: 2007-02-02 02:21:16 UTC
  • mfrom: (36.1.2 cvsps_import)
  • Revision ID: john@arbash-meinel.com-20070202022116-uohj56r2ua8nj7q3
[merge] updated documentation

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    """Import from CVS into bzr.
34
34
 
35
35
    Convert the MODULE into a target at OUTPUT, extracting the data from
36
 
    CVSROOT. 
37
 
 
38
 
    OUTPUT/bzr_repo will become a bzr repository, which shares the ancestry
39
 
    information among all branches.
40
 
    OUTPUT/staging will contain dump files for the cscvs patchsets, and map
41
 
    files to map between the cvs patchsets and bzr revision ids.
42
 
 
43
 
    If --cvsps-dump is not supplied, a new cvsps dump file will be created,
44
 
    which will contain the CVS patchsets.
 
36
    CVSROOT.
 
37
 
 
38
    OUTPUT          Information for the conversion will be stored here
 
39
      bzr           Contains the converted bzr branches.
 
40
        MODULE      This will be a shared repository
 
41
          branches  All branches will be collected here
 
42
            HEAD    The CVS HEAD branch
 
43
          tags      Any CVS tags will be generated here
 
44
      staging       Stores the cvsps-import working files.
 
45
        MODULE.dump If not supplying --cvsps-dump, one will be created here
 
46
        MODULE.map  A mapping from cvsps revisions => bzr revisions
45
47
 
46
48
    When resuming, the default is to check that each revision id is present in
47
49
    the branch. This is a little bit slow, because it has to open up every
58
60
                                        ' This will be used rather than'
59
61
                                        ' generating a new one.'),
60
62
                     option.Option('verify',
61
 
                                   help='Verify that processed versions exist '
 
63
                                   help='Verify that processed versions exist'
62
64
                                        ' in the branch they claim to be in.'),
63
65
                     option.Option('use-cvs',
64
66
                                   help='Use cvs to extract texts.'),
122
124
                .bzr/branch
123
125
              BRANCH2/
124
126
                .bzr/branch
125
 
            working/
126
 
                .bzr/checkout
127
127
 
128
 
    In this situation, there is only a single lightweight checkout of one of
129
 
    the branches. Which will be switched around based on whatever should be the
130
 
    current branch.
 
128
    And the working tree is kept only in memory.
131
129
    """
132
130
 
133
131
    takes_args = ['output']