mercurial/commands.py
changeset 6748 c6cc35a3d1de
parent 6747 f6c00b17387c
child 6749 51b0e799352f
equal deleted inserted replaced
6747:f6c00b17387c 6748:c6cc35a3d1de
   908     return problems
   908     return problems
   909 
   909 
   910 def debugrename(ui, repo, file1, *pats, **opts):
   910 def debugrename(ui, repo, file1, *pats, **opts):
   911     """dump rename information"""
   911     """dump rename information"""
   912 
   912 
   913     ctx = repo[opts.get('rev', 'tip')]
   913     ctx = repo[opts.get('rev')]
   914     m = cmdutil.match(repo, (file1,) + pats, opts)
   914     m = cmdutil.match(repo, (file1,) + pats, opts)
   915     for abs in repo.walk(m, ctx.node()):
   915     for abs in repo.walk(m, ctx.node()):
   916         fctx = ctx.filectx(abs)
   916         fctx = ctx.filectx(abs)
   917         o = fctx.filelog().renamed(fctx.filenode())
   917         o = fctx.filelog().renamed(fctx.filenode())
   918         rel = m.rel(abs)
   918         rel = m.rel(abs)