# HG changeset patch # User Matt Mackall # Date 2008-06-26 19:35:50 # Node ID c6cc35a3d1de1e4f3ce4bf57690e2b41120e92ea # Parent f6c00b17387caf724b8c195239ee5aa918c1740c make debugrename work on p1, not tip diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -910,7 +910,7 @@ def debuginstall(ui): def debugrename(ui, repo, file1, *pats, **opts): """dump rename information""" - ctx = repo[opts.get('rev', 'tip')] + ctx = repo[opts.get('rev')] m = cmdutil.match(repo, (file1,) + pats, opts) for abs in repo.walk(m, ctx.node()): fctx = ctx.filectx(abs)