Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 7737:26bdb7109170
commands: removed unnecessary string concatenation
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Wed, 04 Feb 2009 20:55:44 +0100 |
parents | deec6628e62b |
children | edcb56991afe |
comparison
equal
deleted
inserted
replaced
7736:fb0776fe3e38 | 7737:26bdb7109170 |
---|---|
833 ui.write("match: %s\n" % m(d[0])) | 833 ui.write("match: %s\n" % m(d[0])) |
834 | 834 |
835 def debugindex(ui, file_): | 835 def debugindex(ui, file_): |
836 """dump the contents of an index file""" | 836 """dump the contents of an index file""" |
837 r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_) | 837 r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_) |
838 ui.write(" rev offset length base linkrev" + | 838 ui.write(" rev offset length base linkrev" |
839 " nodeid p1 p2\n") | 839 " nodeid p1 p2\n") |
840 for i in r: | 840 for i in r: |
841 node = r.node(i) | 841 node = r.node(i) |
842 try: | 842 try: |
843 pp = r.parents(node) | 843 pp = r.parents(node) |