mercurial/debugcommands.py
changeset 42773 127d57e950e0
parent 42651 7f1df7019497
child 42830 cf2b765cecd7
--- 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)