Submitter | Pierre-Yves David |
---|---|
Date | Aug. 15, 2019, 10:40 a.m. |
Message ID | <3de6d776f3515adf35f1.1565865604@nodosa.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/41289/ |
State | Accepted |
Headers | show |
Comments
Patch
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)