~bzr/bzr-fastimport/trunk

« back to all changes in this revision

Viewing changes to cmds.py

  • Committer: Jelmer Vernooij
  • Date: 2012-03-22 16:37:43 UTC
  • Revision ID: jelmer@samba.org-20120322163743-5ua99jiper77pd26
Remove trailing whitespace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
    option.
95
95
 
96
96
     .. note::
97
 
     
 
97
 
98
98
        To maintain backwards compatibility, fast-import lets you
99
99
        create the target repository or standalone branch yourself.
100
100
        It is recommended though that you let fast-import create
103
103
    :Branch mapping rules:
104
104
 
105
105
     Git reference names are mapped to Bazaar branch names as follows:
106
 
      
 
106
 
107
107
     * refs/heads/foo is mapped to foo
108
108
     * refs/remotes/origin/foo is mapped to foo.remote
109
109
     * refs/tags/foo is mapped to foo.tag
161
161
       bill = William Jones <bill@example.com>
162
162
 
163
163
     then user-ids are mapped as follows::
164
 
     
 
164
 
165
165
      maria => maria <maria@example.com>
166
166
      bill => William Jones <bill@example.com>
167
167
 
168
168
     .. note::
169
 
     
 
169
 
170
170
        User mapping is supported by both the fast-import and
171
171
        fast-import-filter commands.
172
172
 
178
178
     used when, along with some other statistics (e.g. total number of
179
179
     commits). In the second pass, it generates the repository and
180
180
     branches.
181
 
     
 
181
 
182
182
     .. note::
183
 
     
 
183
 
184
184
        The initial pass isn't done if the --info option is used
185
185
        to explicitly pass in information about the input stream.
186
186
        It also isn't done if the source is standard input. In the
382
382
       bill = William Jones <bill@example.com>
383
383
 
384
384
     then user-ids are mapped as follows::
385
 
     
 
385
 
386
386
      maria => maria <maria@example.com>
387
387
      bill => William Jones <bill@example.com>
388
388
 
389
389
     .. note::
390
 
     
 
390
 
391
391
        User mapping is supported by both the fast-import and
392
392
        fast-import-filter commands.
393
393
 
641
641
     To import several unmerged but related branches into the same repository,
642
642
     use the --{export,import}-marks options, and specify a name for the git
643
643
     branch like this::
644
 
    
 
644
 
645
645
       bzr fast-export --export-marks=marks.bzr project.dev |
646
646
              GIT_DIR=project/.git git-fast-import --export-marks=marks.git
647
647