~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Aaron Bentley
  • Date: 2007-11-27 19:37:36 UTC
  • mto: This revision was merged to the branch mainline in revision 3052.
  • Revision ID: abentley@panoramicfeedback.com-20071127193736-fjqqz482w0a6400o
SupportĀ reconfigureĀ --lightweight-checkout

Show diffs side-by-side

added added

removed removed

Lines of Context:
4174
4174
                     value_switches=True, enum_switch=False,
4175
4175
                     branch='Reconfigure to a branch.',
4176
4176
                     tree='Reconfigure to a tree.',
4177
 
                     checkout='Reconfigure to a checkout.'),
 
4177
                     checkout='Reconfigure to a checkout.',
 
4178
                     lightweight_checkout='Reconfigure to a lightweight'
 
4179
                     ' checkout.'),
4178
4180
                     Option('bind-to', help='Branch to bind checkout to.',
4179
4181
                            type=str),
4180
4182
                     Option('force',
4193
4195
        elif target_type == 'checkout':
4194
4196
            reconfiguration = reconfigure.Reconfigure.to_checkout(directory,
4195
4197
                                                                  bind_to)
 
4198
        elif target_type == 'lightweight-checkout':
 
4199
            reconfiguration = reconfigure.Reconfigure.to_lightweight_checkout(
 
4200
                directory, bind_to)
4196
4201
        reconfiguration.apply(force)
4197
4202
 
4198
4203