diff options
Diffstat (limited to 'hgext/hgk.py')
-rw-r--r-- | hgext/hgk.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/hgext/hgk.py b/hgext/hgk.py index 304b910..e57d1aa 100644 --- a/hgext/hgk.py +++ b/hgext/hgk.py @@ -39,8 +39,6 @@ from mercurial import commands, util, patch, revlog, scmutil from mercurial.node import nullid, nullrev, short from mercurial.i18n import _ -testedwith = 'internal' - def difftree(ui, repo, node1=None, node2=None, *files, **opts): """diff trees from two commits""" def __difftree(repo, node1, node2, files=[]): @@ -97,8 +95,7 @@ def catcommit(ui, repo, n, prefix, ctx=None): nlprefix = '\n' + prefix if ctx is None: ctx = repo[n] - # use ctx.node() instead ?? - ui.write("tree %s\n" % short(ctx.changeset()[0])) + ui.write("tree %s\n" % short(ctx.changeset()[0])) # use ctx.node() instead ?? for p in ctx.parents(): ui.write("parent %s\n" % p) @@ -116,8 +113,7 @@ def catcommit(ui, repo, n, prefix, ctx=None): ui.write("branch %s\n\n" % ctx.branch()) if prefix != "": - ui.write("%s%s\n" % (prefix, - description.replace('\n', nlprefix).strip())) + ui.write("%s%s\n" % (prefix, description.replace('\n', nlprefix).strip())) else: ui.write(description + "\n") if prefix: |