comparison mercurial/commands.py @ 50840:2c78ebaf4c2a

manifest: migrate `opts` to native kwargs
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 20 Aug 2023 01:29:27 -0400
parents 180ac919f062
children b4425b5bd80e
comparison
equal deleted inserted replaced
50839:180ac919f062 50840:2c78ebaf4c2a
4819 If option --all is specified, the list of all files from all revisions 4819 If option --all is specified, the list of all files from all revisions
4820 is printed. This includes deleted and renamed files. 4820 is printed. This includes deleted and renamed files.
4821 4821
4822 Returns 0 on success. 4822 Returns 0 on success.
4823 """ 4823 """
4824 opts = pycompat.byteskwargs(opts) 4824 fm = ui.formatter(b'manifest', pycompat.byteskwargs(opts))
4825 fm = ui.formatter(b'manifest', opts) 4825
4826 4826 if opts.get('all'):
4827 if opts.get(b'all'):
4828 if rev or node: 4827 if rev or node:
4829 raise error.InputError(_(b"can't specify a revision with --all")) 4828 raise error.InputError(_(b"can't specify a revision with --all"))
4830 4829
4831 res = set() 4830 res = set()
4832 for rev in repo: 4831 for rev in repo: