# HG changeset patch # User Matt Mackall # Date 1214508950 18000 # Node ID c6cc35a3d1de1e4f3ce4bf57690e2b41120e92ea # Parent f6c00b17387caf724b8c195239ee5aa918c1740c make debugrename work on p1, not tip diff -r f6c00b17387c -r c6cc35a3d1de mercurial/commands.py --- a/mercurial/commands.py Thu Jun 26 14:35:46 2008 -0500 +++ b/mercurial/commands.py Thu Jun 26 14:35:50 2008 -0500 @@ -910,7 +910,7 @@ 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)