Mercurial > hg
changeset 91:1c212bbb38d5
hack so that debugindex takes filenames
author | mpm@selenic.com |
---|---|
date | Wed, 18 May 2005 15:21:53 -0800 |
parents | ab9ebff09dcd |
children | e6fc7ff52246 |
files | hg |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hg Tue May 17 13:38:21 2005 -0800 +++ b/hg Wed May 18 15:21:53 2005 -0800 @@ -337,6 +337,9 @@ print f.encodepath(args[0]) elif cmd == "debugindex": + if ".hg" not in args[0]: + args[0] = ".hg/data/" + repo.file(args[0]).encodepath(args[0]) + "i" + r = hg.revlog(open, args[0], "") print " rev offset length base linkrev"+\ " p1 p2 nodeid"