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