Show More
@@ -102,10 +102,10 b' def catcommit(ui, repo, n, prefix, ctx=N' | |||||
102 | nlprefix = '\n' + prefix; |
|
102 | nlprefix = '\n' + prefix; | |
103 | if ctx is None: |
|
103 | if ctx is None: | |
104 | ctx = repo[n] |
|
104 | ctx = repo[n] | |
105 | (p1, p2) = ctx.parents() |
|
|||
106 | ui.write("tree %s\n" % short(ctx.changeset()[0])) # use ctx.node() instead ?? |
|
105 | ui.write("tree %s\n" % short(ctx.changeset()[0])) # use ctx.node() instead ?? | |
107 | if p1: ui.write("parent %s\n" % short(p1.node())) |
|
106 | for p in ctx.parents(): | |
108 |
|
|
107 | ui.write("parent %s\n" % p) | |
|
108 | ||||
109 | date = ctx.date() |
|
109 | date = ctx.date() | |
110 | description = ctx.description().replace("\0", "") |
|
110 | description = ctx.description().replace("\0", "") | |
111 | lines = description.splitlines() |
|
111 | lines = description.splitlines() |
General Comments 0
You need to be logged in to leave comments.
Login now