Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/debugcommands.py @ 51081:786b6225793a
debug-delta-chain: print less data by default
This is faster and simpler to read.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 19 Sep 2023 03:15:12 +0200 |
parents | 2d30d1ba0371 |
children | 3551f2a1c963 |
comparison
equal
deleted
inserted
replaced
51080:2d30d1ba0371 | 51081:786b6225793a |
---|---|
754 _('restrict processing to these revlog revisions'), | 754 _('restrict processing to these revlog revisions'), |
755 ), | 755 ), |
756 ( | 756 ( |
757 b'', | 757 b'', |
758 b'all-info', | 758 b'all-info', |
759 True, | 759 False, |
760 _('compute all information unless specified otherwise'), | 760 _('compute all information unless specified otherwise'), |
761 ), | 761 ), |
762 ( | 762 ( |
763 b'', | 763 b'', |
764 b'size-info', | 764 b'size-info', |
872 revs = None | 872 revs = None |
873 revs_opt = opts.pop('rev', []) | 873 revs_opt = opts.pop('rev', []) |
874 if revs_opt: | 874 if revs_opt: |
875 revs = [int(r) for r in revs_opt] | 875 revs = [int(r) for r in revs_opt] |
876 | 876 |
877 all_info = opts.pop('all_info', True) | 877 all_info = opts.pop('all_info', False) |
878 size_info = opts.pop('size_info', None) | 878 size_info = opts.pop('size_info', None) |
879 if size_info is None: | 879 if size_info is None: |
880 size_info = all_info | 880 size_info = all_info |
881 dist_info = opts.pop('dist_info', None) | 881 dist_info = opts.pop('dist_info', None) |
882 if dist_info is None: | 882 if dist_info is None: |