# HG changeset patch # User Pierre-Yves David <pierre-yves.da...@octobus.net> # Date 1565201408 -7200 # Wed Aug 07 20:10:08 2019 +0200 # Node ID 3de6d776f3515adf35f1b9abcb4c2cd9d398d7ef # Parent 333d279ffd3109ce7e2e899fe7b513e1334174e7 # EXP-Topic rawdata # Available At https://bitbucket.org/octobus/mercurial-devel/ # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 3de6d776f351 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) _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel