##// END OF EJS Templates
debugdeltachain: add a parameter to display all info...
marmoute -
r51968:2d30d1ba default
parent child Browse files
Show More
@@ -755,20 +755,26 b' def debugdate(ui, date, range=None, **op'
755 ),
755 ),
756 (
756 (
757 b'',
757 b'',
758 b'all-info',
759 True,
760 _('compute all information unless specified otherwise'),
761 ),
762 (
763 b'',
758 b'size-info',
764 b'size-info',
759 True,
765 None,
760 _('compute information related to deltas size'),
766 _('compute information related to deltas size'),
761 ),
767 ),
762 (
768 (
763 b'',
769 b'',
764 b'dist-info',
770 b'dist-info',
765 True,
771 None,
766 _('compute information related to base distance'),
772 _('compute information related to base distance'),
767 ),
773 ),
768 (
774 (
769 b'',
775 b'',
770 b'sparse-info',
776 b'sparse-info',
771 True,
777 None,
772 _('compute information related to sparse read'),
778 _('compute information related to sparse read'),
773 ),
779 ),
774 ]
780 ]
@@ -868,9 +874,16 b' def debugdeltachain(ui, repo, file_=None'
868 if revs_opt:
874 if revs_opt:
869 revs = [int(r) for r in revs_opt]
875 revs = [int(r) for r in revs_opt]
870
876
871 size_info = opts.pop('size_info', True)
877 all_info = opts.pop('all_info', True)
872 dist_info = opts.pop('dist_info', True)
878 size_info = opts.pop('size_info', None)
873 sparse_info = opts.pop('sparse_info', True)
879 if size_info is None:
880 size_info = all_info
881 dist_info = opts.pop('dist_info', None)
882 if dist_info is None:
883 dist_info = all_info
884 sparse_info = opts.pop('sparse_info', None)
885 if sparse_info is None:
886 sparse_info = all_info
874
887
875 revlog = cmdutil.openrevlog(
888 revlog = cmdutil.openrevlog(
876 repo, b'debugdeltachain', file_, pycompat.byteskwargs(opts)
889 repo, b'debugdeltachain', file_, pycompat.byteskwargs(opts)
@@ -296,7 +296,7 b' Show all commands + options'
296 debugdag: tags, branches, dots, spaces
296 debugdag: tags, branches, dots, spaces
297 debugdata: changelog, manifest, dir
297 debugdata: changelog, manifest, dir
298 debugdate: extended
298 debugdate: extended
299 debugdeltachain: rev, size-info, dist-info, sparse-info, changelog, manifest, dir, template
299 debugdeltachain: rev, all-info, size-info, dist-info, sparse-info, changelog, manifest, dir, template
300 debugdirstateignorepatternshash:
300 debugdirstateignorepatternshash:
301 debugdirstate: nodates, dates, datesort, docket, all
301 debugdirstate: nodates, dates, datesort, docket, all
302 debugdiscovery: old, nonheads, rev, seed, local-as-revs, remote-as-revs, ssh, remotecmd, insecure, template
302 debugdiscovery: old, nonheads, rev, seed, local-as-revs, remote-as-revs, ssh, remotecmd, insecure, template
General Comments 0
You need to be logged in to leave comments. Login now