equal
deleted
inserted
replaced
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) |