Mercurial > hg
diff mercurial/debugcommands.py @ 42773:127d57e950e0
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.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 07 Aug 2019 20:10:08 +0200 |
parents | 7f1df7019497 |
children | cf2b765cecd7 |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Wed Aug 07 20:09:53 2019 +0200 +++ b/mercurial/debugcommands.py Wed Aug 07 20:10:08 2019 +0200 @@ -562,7 +562,7 @@ 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)