# HG changeset patch # User Pierre-Yves David # Date 2019-08-07 18:10:08 # Node ID a6808d41d0adae8d40211071c82afb1ba312a5ac # Parent ac9fed51203555e414b85cf9256f8e68d72f40d9 rawdata: update callers in debugcommands We update callers incrementally because this help bisecting failures. This was useful during development, so we expect it might be useful again in the future. diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -562,7 +562,7 @@ def debugdata(ui, repo, file_, rev=None, raise error.CommandError('debugdata', _('invalid arguments')) r = cmdutil.openstorage(repo, 'debugdata', file_, opts) try: - ui.write(r.revision(r.lookup(rev), raw=True)) + ui.write(r.rawdata(r.lookup(rev))) except KeyError: raise error.Abort(_('invalid revision identifier %s') % rev)