--- a/mercurial/commands.py Thu Feb 02 10:01:00 2017 +0100
+++ b/mercurial/commands.py Thu Feb 02 10:01:54 2017 +0100
@@ -1858,23 +1858,6 @@
with repo.wlock(False):
return cmdutil.copy(ui, repo, pats, opts)
-@command('debugrename',
- [('r', 'rev', '', _('revision to debug'), _('REV'))],
- _('[-r REV] FILE'))
-def debugrename(ui, repo, file1, *pats, **opts):
- """dump rename information"""
-
- ctx = scmutil.revsingle(repo, opts.get('rev'))
- m = scmutil.match(ctx, (file1,) + pats, opts)
- for abs in ctx.walk(m):
- fctx = ctx[abs]
- o = fctx.filelog().renamed(fctx.filenode())
- rel = m.rel(abs)
- if o:
- ui.write(_("%s renamed from %s:%s\n") % (rel, o[0], hex(o[1])))
- else:
- ui.write(_("%s not renamed\n") % rel)
-
@command('debugrevlog', debugrevlogopts +
[('d', 'dump', False, _('dump index data'))],
_('-c|-m|FILE'),