~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Wouter van Heyst
  • Date: 2007-02-02 12:24:10 UTC
  • mto: (2353.2.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2355.
  • Revision ID: larstiq@larstiq.dyndns.org-20070202122410-pvj8k5lqmdrwpazh
Change the ui level default for init-repo to --trees.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1150
1150
    shared storage.
1151
1151
 
1152
1152
    example:
1153
 
        bzr init-repo repo
 
1153
        bzr init-repo --no-trees repo
1154
1154
        bzr init repo/trunk
1155
1155
        bzr checkout --lightweight repo/trunk trunk-checkout
1156
1156
        cd trunk-checkout
1165
1165
                            registry=bzrdir.format_registry,
1166
1166
                            converter=bzrdir.format_registry.make_bzrdir,
1167
1167
                            value_switches=True),
1168
 
                     Option('trees',
1169
 
                             help='Allows branches in repository to have'
 
1168
                     Option('no-trees',
 
1169
                             help='Disallows branches in repository to have'
1170
1170
                             ' a working tree')]
1171
1171
    aliases = ["init-repo"]
1172
 
    def run(self, location, format=None, trees=False):
 
1172
    def run(self, location, format=None, trees=True):
1173
1173
        if format is None:
1174
1174
            format = bzrdir.format_registry.make_bzrdir('default')
1175
1175