1715
1715
_see_also = ['status', 'cat']
1716
1716
takes_args = ['path?']
1717
1717
# TODO: Take a revision or remote path and list that tree instead.
1718
takes_options = ['verbose', 'revision',
1719
Option('non-recursive',
1720
help='Don\'t recurse into subdirectories.'),
1722
help='Print all paths from the root of the branch.'),
1723
Option('unknown', help='Print unknown files'),
1724
Option('versioned', help='Print versioned files'),
1725
Option('ignored', help='Print ignored files'),
1727
help='Write an ascii NUL (\\0) separator '
1728
'between files rather than a newline.'),
1721
Option('non-recursive',
1722
help='Don\'t recurse into subdirectories.'),
1724
help='Print all paths from the root of the branch.'),
1725
Option('unknown', help='Print unknown files.'),
1726
Option('versioned', help='Print versioned files.'),
1727
Option('ignored', help='Print ignored files.'),
1729
help='Write an ascii NUL (\\0) separator '
1730
'between files rather than a newline.'),
1732
1734
@display_command
1733
1735
def run(self, revision=None, verbose=False,
1734
1736
non_recursive=False, from_root=False,
3515
3517
takes_options = [
3516
3518
RegistryOption.from_kwargs('patch-type',
3517
3519
'The type of patch to include in the directive',
3518
title='Patch type', value_switches=True, enum_switch=False,
3519
bundle='Bazaar revision bundle (default)',
3520
diff='Normal unified diff',
3521
plain='No patch, just directive'),
3522
Option('sign', help='GPG-sign the directive'), 'revision',
3521
value_switches=True,
3523
bundle='Bazaar revision bundle (default).',
3524
diff='Normal unified diff.',
3525
plain='No patch, just directive.'),
3526
Option('sign', help='GPG-sign the directive.'), 'revision',
3523
3527
Option('mail-to', type=str,
3524
help='Instead of printing the directive, email to this address'),
3528
help='Instead of printing the directive, email to this address.'),
3525
3529
Option('message', type=str, short_name='m',
3526
help='Message to use when committing this merge')
3530
help='Message to use when committing this merge.')
3529
3533
encoding_type = 'exact'