4380
4380
If none of these is available, --bind-to must be specified.
4383
_see_also = ['branches', 'checkouts', 'standalone-trees', 'working-trees']
4383
4384
takes_args = ['location?']
4384
4385
takes_options = [RegistryOption.from_kwargs('target_type',
4385
4386
title='Target type',
4386
4387
help='The type to reconfigure the directory to.',
4387
4388
value_switches=True, enum_switch=False,
4388
branch='Reconfigure to a branch.',
4389
tree='Reconfigure to a tree.',
4390
checkout='Reconfigure to a checkout.',
4391
lightweight_checkout='Reconfigure to a lightweight'
4393
standalone='Reconfigure to be standalone.',
4389
branch='Reconfigure to be an unbound branch '
4390
'with no working tree.',
4391
tree='Reconfigure to be an unbound branch '
4392
'with a working tree.',
4393
checkout='Reconfigure to be a bound branch '
4394
'with a working tree.',
4395
lightweight_checkout='Reconfigure to be a lightweight'
4396
' checkout (with no local history).',
4397
standalone='Reconfigure to be a standalone branch '
4398
'(i.e. stop using shared repository).',
4394
4399
use_shared='Reconfigure to use a shared repository.'),
4395
4400
Option('bind-to', help='Branch to bind checkout to.',