/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to __init__.py

tweak help formatting

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
    usage. Development is planned so that this recipe becomes obsolete
161
161
    in the future, i.e. so that the simple recipe always works.
162
162
 
163
 
    Examples::
 
163
    :Examples:
164
164
 
165
 
     Import a Subversion repository into Bazaar:
 
165
     Import a Subversion repository into Bazaar::
166
166
 
167
167
       bzr fast-export-from-svn /svn/repo/path project.fi
168
168
       bzr fast-import project.fi
169
169
 
170
 
     Import a Git repository into Bazaar:
 
170
     Import a Git repository into Bazaar::
171
171
 
172
172
       bzr fast-export-from-git /git/repo/path project.fi
173
173
       bzr fast-import project.fi
174
174
 
175
 
     Import a Mercurial repository into Bazaar:
 
175
     Import a Mercurial repository into Bazaar::
176
176
 
177
177
       bzr fast-export-from-hg /hg/repo/path project.fi
178
178
       bzr fast-import project.fi
179
179
 
180
 
     Import a Darcs repository into Bazaar:
 
180
     Import a Darcs repository into Bazaar::
181
181
 
182
182
       bzr fast-export-from-darcs /darcs/repo/path project.fi
183
183
       bzr fast-import project.fi
274
274
    Note: If a path has been renamed, take care to specify the *original*
275
275
    path name, not the final name that it ends up with.
276
276
 
277
 
    Examples::
278
 
 
279
 
      Create a new project from a library. (Note the trailing / on the
280
 
      directory name of the library.)
281
 
 
282
 
        front-end | bzr fast-import-filter -i lib/xxx/ > xxx.fi
283
 
        bzr init-repo mylibrary
284
 
        cd mylibrary
285
 
        bzr fast-import ../xxx.fi
286
 
        (lib/xxx/foo is now foo)
287
 
 
288
 
      Create a new repository without a sensitive file.
289
 
 
290
 
        front-end | bzr fast-import-filter -x missile-codes.txt > clean.fi
291
 
        bzr init-repo project.clean
292
 
        cd project.clean
293
 
        bzr fast-import ../clean.fi
 
277
    :Examples:
 
278
 
 
279
     Create a new project from a library (note the trailing / on the
 
280
     directory name of the library)::
 
281
 
 
282
       front-end | bzr fast-import-filter -i lib/xxx/ > xxx.fi
 
283
       bzr init-repo mylibrary
 
284
       cd mylibrary
 
285
       bzr fast-import ../xxx.fi
 
286
       (lib/xxx/foo is now foo)
 
287
 
 
288
     Create a new repository without a sensitive file::
 
289
 
 
290
       front-end | bzr fast-import-filter -x missile-codes.txt > clean.fi
 
291
       bzr init-repo project.clean
 
292
       cd project.clean
 
293
       bzr fast-import ../clean.fi
294
294
    """
295
295
    hidden = False
296
296
    _see_also = ['fast-import']
329
329
    To specify standard input as the input stream, use a source
330
330
    name of '-'.
331
331
 
332
 
    Examples::
333
 
 
334
 
     front-end | bzr fast-import-info -
335
 
 
336
 
        Display statistics about the import stream produced by front-end.
337
 
 
338
 
     front-end | bzr fast-import-info -v - > front-end.cfg
339
 
 
340
 
       Create a hints file for running fast-import on a large repository.
 
332
    :Examples:
 
333
 
 
334
     Display statistics about the import stream produced by front-end::
 
335
 
 
336
      front-end | bzr fast-import-info -
 
337
 
 
338
     Create a hints file for running fast-import on a large repository::
 
339
 
 
340
       front-end | bzr fast-import-info -v - > front-end.cfg
341
341
    """
342
342
    hidden = False
343
343
    _see_also = ['fast-import']
366
366
    Note: Binary fields (e.g. data for blobs) are masked out
367
367
    so it is generally safe to view the output in a terminal.
368
368
 
369
 
    Examples::
 
369
    :Examples:
 
370
 
 
371
    Show all the fields of the reset and tag commands::
370
372
 
371
373
      front-end > xxx.fi
372
374
      bzr fast-import-query xxx.fi -Creset -Ctag
373
375
 
374
 
        Show all the fields of the reset and tag commands.
 
376
    Show the mark and merge fields of the commit commands::
375
377
 
376
378
      bzr fast-import-query xxx.fi -Ccommit=mark,merge
377
 
 
378
 
        Show the mark and merge fields of the commit commands.
379
379
    """
380
380
    hidden = True
381
381
    _see_also = ['fast-import', 'fast-import-filter']
401
401
    git-fast-import(1). It preserves merges correctly, even merged branches with
402
402
    no common history (`bzr merge -r 0..-1`).
403
403
 
404
 
    To import several unmerged but related branches into the same repository,
405
 
    use the --{export,import}-marks options, and specify a name for the git
406
 
    branch like this::
 
404
    :Examples:
 
405
 
 
406
     To import several unmerged but related branches into the same repository,
 
407
     use the --{export,import}-marks options, and specify a name for the git
 
408
     branch like this::
407
409
    
408
 
        % bzr-fast-export --export-marks=marks.bzr project.dev |
 
410
      bzr fast-export --export-marks=marks.bzr project.dev |
409
411
              GIT_DIR=project/.git git-fast-import --export-marks=marks.git
410
412
 
411
 
        % bzr-fast-export --import-marks=marks.bzr -b other project.other |
 
413
      bzr fast-export --import-marks=marks.bzr -b other project.other |
412
414
              GIT_DIR=project/.git git-fast-import --import-marks=marks.git
413
415
 
414
 
    If you get a "Missing space after source" error from git-fast-import,
415
 
    see the top of the commands.py module for a work-around.
 
416
     If you get a "Missing space after source" error from git-fast-import,
 
417
     see the top of the commands.py module for a work-around.
416
418
    """
417
419
    hidden = False
418
420
    _see_also = ['fast-import', 'fast-import-filter']
506
508
    subcommand is used under the covers to generate the stream.
507
509
    The source must be a local directory.
508
510
 
509
 
    Note: Earlier versions of Git may also work fine but are
510
 
    likely to receive less active support if problems arise.
 
511
    .. note::
 
512
    
 
513
       Earlier versions of Git may also work fine but are
 
514
       likely to receive less active support if problems arise.
511
515
    """
512
516
    hidden = False
513
517
    _see_also = ['fast-import', 'fast-import-filter']