rawdata: update callers in debugcommands
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 07 Aug 2019 20:10:08 +0200
changeset 42773 127d57e950e0
parent 42772 5c2e8a661418
child 42774 da643cadec90
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.
mercurial/debugcommands.py
--- 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)