~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: James Westby
  • Date: 2007-05-14 20:42:47 UTC
  • mto: (2491.1.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2492.
  • Revision ID: jw+debian@jameswestby.net-20070514204247-mcxwep2on9g5p30w
Update with comments from review, thanks to John and Aaron.

Show diffs side-by-side

added added

removed removed

Lines of Context:
249
249
 
250
250
    To re-create the working tree, use "bzr checkout".
251
251
    """
252
 
    _see_also = ['checkout']
 
252
    _see_also = ['checkout', 'working-trees']
253
253
 
254
254
    takes_args = ['location?']
255
255
 
669
669
    location can be accessed.
670
670
    """
671
671
 
672
 
    _see_also = ['pull', 'update']
 
672
    _see_also = ['pull', 'update', 'working-trees']
673
673
    takes_options = ['remember', 'overwrite', 'verbose',
674
674
        Option('create-prefix',
675
675
               help='Create the path leading up to the branch '
812
812
                try:
813
813
                    tree_to = dir_to.open_workingtree()
814
814
                except errors.NotLocalUrl:
815
 
                    warning('This transport does not update the working ' 
816
 
                            'tree of: %s. See \'bzr help ' % br_to.base + \
817
 
                            'working-trees\' for more information.')
 
815
                    warning("This transport does not update the working " 
 
816
                            "tree of: %s. See 'bzr help working-trees' for "
 
817
                            "more information." % br_to.base)
818
818
                    push_result = br_from.push(br_to, overwrite)
819
819
                except errors.NoWorkingTree:
820
820
                    push_result = br_from.push(br_to, overwrite)
1018
1018
    'bzr revert' instead of 'bzr commit' after the update.
1019
1019
    """
1020
1020
 
1021
 
    _see_also = ['pull']
 
1021
    _see_also = ['pull', 'working-trees']
1022
1022
    takes_args = ['dir?']
1023
1023
    aliases = ['up']
1024
1024
 
1062
1062
 
1063
1063
    Branches and working trees will also report any missing revisions.
1064
1064
    """
1065
 
    _see_also = ['revno']
 
1065
    _see_also = ['revno', 'working-trees', 'repositories']
1066
1066
    takes_args = ['location?']
1067
1067
    takes_options = ['verbose']
1068
1068
 
1313
1313
class cmd_init_repository(Command):
1314
1314
    """Create a shared repository to hold branches.
1315
1315
 
1316
 
    New branches created under the repository directory will store their revisions
1317
 
    in the repository, not in the branch directory.
 
1316
    New branches created under the repository directory will store their
 
1317
    revisions in the repository, not in the branch directory.
 
1318
 
 
1319
    If the --no-trees option is used then the branches in the repository
 
1320
    will not have working trees by default.
1318
1321
 
1319
1322
    example:
1320
 
        bzr init-repo repo
 
1323
        bzr init-repo --no-trees repo
1321
1324
        bzr init repo/trunk
1322
1325
        bzr checkout --lightweight repo/trunk trunk-checkout
1323
1326
        cd trunk-checkout
1324
1327
        (add files here)
1325
 
    or:
1326
 
        bzr init-repo --no-trees repo
1327
 
    as the first step to get a repository where the branches inside will not
1328
 
    have working trees.
1329
1328
 
1330
1329
    See 'bzr help repositories' for more information.
1331
1330
    """